From f4b47058958e1ef3e52ea7e748781ce513b5096e Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 7 Jan 2025 09:54:23 -0800 Subject: [PATCH] feat: Automated regeneration of integrations v1 client (#21297) Auto-created at 2025-01-07 17:48:45 +0000 using the toys pull request generator. --- api_names_out.yaml | 301 ++ .../google-apis-integrations_v1/CHANGELOG.md | 5 + .../google-apis-integrations_v1.gemspec | 2 +- .../google/apis/integrations_v1/classes.rb | 1808 ++++++++++-- .../apis/integrations_v1/gem_version.rb | 6 +- .../apis/integrations_v1/representations.rb | 739 ++++- .../google/apis/integrations_v1/service.rb | 2565 +++++++++++------ 7 files changed, 4372 insertions(+), 1054 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 72348e2da4d..c832ffcb528 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -245710,6 +245710,9 @@ "/integrations:v1/EnterpriseCrmEventbusProtoCloudKmsConfig/keyVersionName": key_version_name "/integrations:v1/EnterpriseCrmEventbusProtoCloudKmsConfig/locationName": location_name "/integrations:v1/EnterpriseCrmEventbusProtoCloudKmsConfig/serviceAccount": service_account +"/integrations:v1/EnterpriseCrmEventbusProtoCloudLoggingDetails": enterprise_crm_eventbus_proto_cloud_logging_details +"/integrations:v1/EnterpriseCrmEventbusProtoCloudLoggingDetails/cloudLoggingSeverity": cloud_logging_severity +"/integrations:v1/EnterpriseCrmEventbusProtoCloudLoggingDetails/enableCloudLogging": enable_cloud_logging "/integrations:v1/EnterpriseCrmEventbusProtoCloudSchedulerConfig": enterprise_crm_eventbus_proto_cloud_scheduler_config "/integrations:v1/EnterpriseCrmEventbusProtoCloudSchedulerConfig/cronTab": cron_tab "/integrations:v1/EnterpriseCrmEventbusProtoCloudSchedulerConfig/errorMessage": error_message @@ -245726,9 +245729,14 @@ "/integrations:v1/EnterpriseCrmEventbusProtoConditionResult/currentTaskNumber": current_task_number "/integrations:v1/EnterpriseCrmEventbusProtoConditionResult/nextTaskNumber": next_task_number "/integrations:v1/EnterpriseCrmEventbusProtoConditionResult/result": result +"/integrations:v1/EnterpriseCrmEventbusProtoConditionalFailurePolicies": enterprise_crm_eventbus_proto_conditional_failure_policies +"/integrations:v1/EnterpriseCrmEventbusProtoConditionalFailurePolicies/defaultFailurePolicy": default_failure_policy +"/integrations:v1/EnterpriseCrmEventbusProtoConditionalFailurePolicies/failurePolicies": failure_policies +"/integrations:v1/EnterpriseCrmEventbusProtoConditionalFailurePolicies/failurePolicies/failure_policy": failure_policy "/integrations:v1/EnterpriseCrmEventbusProtoConnectorsConnection": enterprise_crm_eventbus_proto_connectors_connection "/integrations:v1/EnterpriseCrmEventbusProtoConnectorsConnection/connectionName": connection_name "/integrations:v1/EnterpriseCrmEventbusProtoConnectorsConnection/connectorVersion": connector_version +"/integrations:v1/EnterpriseCrmEventbusProtoConnectorsConnection/host": host "/integrations:v1/EnterpriseCrmEventbusProtoConnectorsConnection/serviceName": service_name "/integrations:v1/EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig": enterprise_crm_eventbus_proto_connectors_generic_connector_task_config "/integrations:v1/EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig/connection": connection @@ -245758,6 +245766,7 @@ "/integrations:v1/EnterpriseCrmEventbusProtoEventBusProperties/properties": properties "/integrations:v1/EnterpriseCrmEventbusProtoEventBusProperties/properties/property": property "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionDetails": enterprise_crm_eventbus_proto_event_execution_details +"/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionDetails/cancelReason": cancel_reason "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionDetails/eventAttemptStats": event_attempt_stats "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionDetails/eventAttemptStats/event_attempt_stat": event_attempt_stat "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionDetails/eventExecutionSnapshot": event_execution_snapshot @@ -245774,6 +245783,7 @@ "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats/startTime": start_time "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot": enterprise_crm_eventbus_proto_event_execution_snapshot "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/checkpointTaskNumber": checkpoint_task_number +"/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/clientId": client_id "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/conditionResults": condition_results "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/conditionResults/condition_result": condition_result "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/diffParams": diff_params @@ -245786,6 +245796,7 @@ "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/taskExecutionDetails": task_execution_details "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/taskExecutionDetails/task_execution_detail": task_execution_detail "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/taskName": task_name +"/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshot/workflowName": workflow_name "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata": enterprise_crm_eventbus_proto_event_execution_snapshot_event_execution_snapshot_metadata "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata/ancestorIterationNumbers": ancestor_iteration_numbers ? "/integrations:v1/EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata/ancestorIterationNumbers/ancestor_iteration_number" @@ -245806,13 +245817,16 @@ "/integrations:v1/EnterpriseCrmEventbusProtoExecutionTraceInfo/parentEventExecutionInfoId": parent_event_execution_info_id "/integrations:v1/EnterpriseCrmEventbusProtoExecutionTraceInfo/traceId": trace_id "/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic": enterprise_crm_eventbus_proto_external_traffic +"/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic/enableInternalIp": enable_internal_ip "/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic/gcpProjectId": gcp_project_id "/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic/gcpProjectNumber": gcp_project_number "/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic/location": location +"/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic/retryRequestForQuota": retry_request_for_quota "/integrations:v1/EnterpriseCrmEventbusProtoExternalTraffic/source": source "/integrations:v1/EnterpriseCrmEventbusProtoFailurePolicy": enterprise_crm_eventbus_proto_failure_policy "/integrations:v1/EnterpriseCrmEventbusProtoFailurePolicy/intervalInSeconds": interval_in_seconds "/integrations:v1/EnterpriseCrmEventbusProtoFailurePolicy/maxNumRetries": max_num_retries +"/integrations:v1/EnterpriseCrmEventbusProtoFailurePolicy/retryCondition": retry_condition "/integrations:v1/EnterpriseCrmEventbusProtoFailurePolicy/retryStrategy": retry_strategy "/integrations:v1/EnterpriseCrmEventbusProtoField": enterprise_crm_eventbus_proto_field "/integrations:v1/EnterpriseCrmEventbusProtoField/cardinality": cardinality @@ -246136,6 +246150,7 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray/doubleValues": double_values "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray/doubleValues/double_value": double_value "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails": enterprise_crm_frontends_eventbus_proto_event_execution_details +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails/cancelReason": cancel_reason "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails/eventAttemptStats": event_attempt_stats "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails/eventAttemptStats/event_attempt_stat": event_attempt_stat "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails/eventExecutionSnapshot": event_execution_snapshot @@ -246149,6 +246164,7 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails/ryeLockUnheldCount": rye_lock_unheld_count "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo": enterprise_crm_frontends_eventbus_proto_event_execution_info "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/clientId": client_id +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/cloudLoggingDetails": cloud_logging_details "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/createTime": create_time "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/errorCode": error_code "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/errors": errors @@ -246156,9 +246172,11 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/eventExecutionDetails": event_execution_details "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/eventExecutionInfoId": event_execution_info_id "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/executionTraceInfo": execution_trace_info +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/integrationVersionUserLabel": integration_version_user_label "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/lastModifiedTime": last_modified_time "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/postMethod": post_method "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/product": product +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/replayInfo": replay_info "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/requestId": request_id "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/requestParams": request_params "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/responseParams": response_params @@ -246168,6 +246186,13 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/workflowId": workflow_id "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/workflowName": workflow_name "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo/workflowRetryBackoffIntervalSeconds": workflow_retry_backoff_interval_seconds +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo": enterprise_crm_frontends_eventbus_proto_event_execution_info_replay_info +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo/originalExecutionInfoId": original_execution_info_id +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo/replayMode": replay_mode +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo/replayReason": replay_reason +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo/replayedExecutionInfoIds": replayed_execution_info_ids +? "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo/replayedExecutionInfoIds/replayed_execution_info_id" +: replayed_execution_info_id "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot": enterprise_crm_frontends_eventbus_proto_event_execution_snapshot "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot/checkpointTaskNumber": checkpoint_task_number "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot/conditionResults": condition_results @@ -246250,6 +246275,7 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig": enterprise_crm_frontends_eventbus_proto_task_config "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig/alertConfigs": alert_configs "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig/alertConfigs/alert_config": alert_config +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig/conditionalFailurePolicies": conditional_failure_policies "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig/createTime": create_time "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig/creatorEmail": creator_email "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTaskConfig/description": description @@ -246294,8 +246320,10 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/enabledClients": enabled_clients "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/enabledClients/enabled_client": enabled_client "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/errorCatcherId": error_catcher_id +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/inputVariables": input_variables "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/label": label "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/nextTasksExecutionPolicy": next_tasks_execution_policy +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/outputVariables": output_variables "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/pauseWorkflowExecutions": pause_workflow_executions "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/position": position "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/properties": properties @@ -246307,6 +246335,9 @@ "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/triggerName": trigger_name "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/triggerNumber": trigger_number "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfig/triggerType": trigger_type +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables": enterprise_crm_frontends_eventbus_proto_trigger_config_variables +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables/names": names +"/integrations:v1/EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables/names/name": name "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry": enterprise_crm_frontends_eventbus_proto_workflow_parameter_entry "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry/attributes": attributes "/integrations:v1/EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry/children": children @@ -246347,6 +246378,7 @@ "/integrations:v1/GoogleCloudConnectorsV1AuthConfig/authKey": auth_key "/integrations:v1/GoogleCloudConnectorsV1AuthConfig/authType": auth_type "/integrations:v1/GoogleCloudConnectorsV1AuthConfig/oauth2AuthCodeFlow": oauth2_auth_code_flow +"/integrations:v1/GoogleCloudConnectorsV1AuthConfig/oauth2AuthCodeFlowGoogleManaged": oauth2_auth_code_flow_google_managed "/integrations:v1/GoogleCloudConnectorsV1AuthConfig/oauth2ClientCredentials": oauth2_client_credentials "/integrations:v1/GoogleCloudConnectorsV1AuthConfig/oauth2JwtBearer": oauth2_jwt_bearer "/integrations:v1/GoogleCloudConnectorsV1AuthConfig/sshPublicKey": ssh_public_key @@ -246361,6 +246393,11 @@ "/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow/redirectUri": redirect_uri "/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow/scopes": scopes "/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow/scopes/scope": scope +"/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged": google_cloud_connectors_v1_auth_config_oauth2_auth_code_flow_google_managed +"/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged/authCode": auth_code +"/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged/redirectUri": redirect_uri +"/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged/scopes": scopes +"/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged/scopes/scope": scope "/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials": google_cloud_connectors_v1_auth_config_oauth2_client_credentials "/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials/clientId": client_id "/integrations:v1/GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials/clientSecret": client_secret @@ -246389,7 +246426,9 @@ "/integrations:v1/GoogleCloudConnectorsV1ConfigVariable/secretValue": secret_value "/integrations:v1/GoogleCloudConnectorsV1ConfigVariable/stringValue": string_value "/integrations:v1/GoogleCloudConnectorsV1Connection": google_cloud_connectors_v1_connection +"/integrations:v1/GoogleCloudConnectorsV1Connection/asyncOperationsEnabled": async_operations_enabled "/integrations:v1/GoogleCloudConnectorsV1Connection/authConfig": auth_config +"/integrations:v1/GoogleCloudConnectorsV1Connection/authOverrideEnabled": auth_override_enabled "/integrations:v1/GoogleCloudConnectorsV1Connection/billingConfig": billing_config "/integrations:v1/GoogleCloudConnectorsV1Connection/configVariables": config_variables "/integrations:v1/GoogleCloudConnectorsV1Connection/configVariables/config_variable": config_variable @@ -246405,6 +246444,7 @@ "/integrations:v1/GoogleCloudConnectorsV1Connection/eventingConfig": eventing_config "/integrations:v1/GoogleCloudConnectorsV1Connection/eventingEnablementType": eventing_enablement_type "/integrations:v1/GoogleCloudConnectorsV1Connection/eventingRuntimeData": eventing_runtime_data +"/integrations:v1/GoogleCloudConnectorsV1Connection/host": host "/integrations:v1/GoogleCloudConnectorsV1Connection/imageLocation": image_location "/integrations:v1/GoogleCloudConnectorsV1Connection/isTrustedTester": is_trusted_tester "/integrations:v1/GoogleCloudConnectorsV1Connection/labels": labels @@ -246419,6 +246459,7 @@ "/integrations:v1/GoogleCloudConnectorsV1Connection/status": status "/integrations:v1/GoogleCloudConnectorsV1Connection/subscriptionType": subscription_type "/integrations:v1/GoogleCloudConnectorsV1Connection/suspended": suspended +"/integrations:v1/GoogleCloudConnectorsV1Connection/tlsServiceDirectory": tls_service_directory "/integrations:v1/GoogleCloudConnectorsV1Connection/updateTime": update_time "/integrations:v1/GoogleCloudConnectorsV1ConnectionStatus": google_cloud_connectors_v1_connection_status "/integrations:v1/GoogleCloudConnectorsV1ConnectionStatus/description": description @@ -246427,12 +246468,15 @@ "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig": google_cloud_connectors_v1_connector_version_infra_config "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/connectionRatelimitWindowSeconds": connection_ratelimit_window_seconds "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/deploymentModel": deployment_model +"/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/deploymentModelMigrationState": deployment_model_migration_state "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/hpaConfig": hpa_config "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/internalclientRatelimitThreshold": internalclient_ratelimit_threshold +"/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/maxInstanceRequestConcurrency": max_instance_request_concurrency "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/ratelimitThreshold": ratelimit_threshold "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/resourceLimits": resource_limits "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/resourceRequests": resource_requests "/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/sharedDeployment": shared_deployment +"/integrations:v1/GoogleCloudConnectorsV1ConnectorVersionInfraConfig/tlsMigrationState": tls_migration_state "/integrations:v1/GoogleCloudConnectorsV1Destination": google_cloud_connectors_v1_destination "/integrations:v1/GoogleCloudConnectorsV1Destination/host": host "/integrations:v1/GoogleCloudConnectorsV1Destination/port": port @@ -246463,6 +246507,7 @@ "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeData/eventsListenerPscSa": events_listener_psc_sa "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeData/status": status "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeData/webhookData": webhook_data +"/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeData/webhookSubscriptions": webhook_subscriptions "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookData": google_cloud_connectors_v1_eventing_runtime_data_webhook_data "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookData/additionalVariables": additional_variables "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookData/additionalVariables/additional_variable": additional_variable @@ -246471,6 +246516,9 @@ "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookData/name": name "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookData/nextRefreshTime": next_refresh_time "/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookData/updateTime": update_time +"/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions": google_cloud_connectors_v1_eventing_runtime_data_webhook_subscriptions +"/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions/webhookData": webhook_data +"/integrations:v1/GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions/webhookData/webhook_datum": webhook_datum "/integrations:v1/GoogleCloudConnectorsV1EventingStatus": google_cloud_connectors_v1_eventing_status "/integrations:v1/GoogleCloudConnectorsV1EventingStatus/description": description "/integrations:v1/GoogleCloudConnectorsV1EventingStatus/state": state @@ -246482,6 +246530,7 @@ "/integrations:v1/GoogleCloudConnectorsV1LockConfig/reason": reason "/integrations:v1/GoogleCloudConnectorsV1LogConfig": google_cloud_connectors_v1_log_config "/integrations:v1/GoogleCloudConnectorsV1LogConfig/enabled": enabled +"/integrations:v1/GoogleCloudConnectorsV1LogConfig/level": level "/integrations:v1/GoogleCloudConnectorsV1NodeConfig": google_cloud_connectors_v1_node_config "/integrations:v1/GoogleCloudConnectorsV1NodeConfig/maxNodeCount": max_node_count "/integrations:v1/GoogleCloudConnectorsV1NodeConfig/minNodeCount": min_node_count @@ -246511,10 +246560,25 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaAccessToken/refreshToken": refresh_token "/integrations:v1/GoogleCloudIntegrationsV1alphaAccessToken/refreshTokenExpireTime": refresh_token_expire_time "/integrations:v1/GoogleCloudIntegrationsV1alphaAccessToken/tokenType": token_type +"/integrations:v1/GoogleCloudIntegrationsV1alphaApiTriggerResource": google_cloud_integrations_v1alpha_api_trigger_resource +"/integrations:v1/GoogleCloudIntegrationsV1alphaApiTriggerResource/integrationResource": integration_resource +"/integrations:v1/GoogleCloudIntegrationsV1alphaApiTriggerResource/triggerId": trigger_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaApiTriggerResource/triggerId/trigger_id": trigger_id "/integrations:v1/GoogleCloudIntegrationsV1alphaArchiveBundleRequest": google_cloud_integrations_v1alpha_archive_bundle_request "/integrations:v1/GoogleCloudIntegrationsV1alphaArchiveBundleResponse": google_cloud_integrations_v1alpha_archive_bundle_response "/integrations:v1/GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest": google_cloud_integrations_v1alpha_archive_integration_version_request "/integrations:v1/GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse": google_cloud_integrations_v1alpha_archive_integration_version_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertion": google_cloud_integrations_v1alpha_assertion +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertion/assertionStrategy": assertion_strategy +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertion/condition": condition +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertion/parameter": parameter +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertion/retryCount": retry_count +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertionResult": google_cloud_integrations_v1alpha_assertion_result +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertionResult/assertion": assertion +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertionResult/failureMessage": failure_message +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertionResult/status": status +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertionResult/taskName": task_name +"/integrations:v1/GoogleCloudIntegrationsV1alphaAssertionResult/taskNumber": task_number "/integrations:v1/GoogleCloudIntegrationsV1alphaAttemptStats": google_cloud_integrations_v1alpha_attempt_stats "/integrations:v1/GoogleCloudIntegrationsV1alphaAttemptStats/endTime": end_time "/integrations:v1/GoogleCloudIntegrationsV1alphaAttemptStats/startTime": start_time @@ -246544,6 +246608,7 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaBooleanParameterArray/booleanValues": boolean_values "/integrations:v1/GoogleCloudIntegrationsV1alphaBooleanParameterArray/booleanValues/boolean_value": boolean_value "/integrations:v1/GoogleCloudIntegrationsV1alphaCancelExecutionRequest": google_cloud_integrations_v1alpha_cancel_execution_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaCancelExecutionRequest/cancelReason": cancel_reason "/integrations:v1/GoogleCloudIntegrationsV1alphaCancelExecutionResponse": google_cloud_integrations_v1alpha_cancel_execution_response "/integrations:v1/GoogleCloudIntegrationsV1alphaCancelExecutionResponse/isCanceled": is_canceled "/integrations:v1/GoogleCloudIntegrationsV1alphaCertificate": google_cloud_integrations_v1alpha_certificate @@ -246567,6 +246632,7 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/cloudLoggingConfig": cloud_logging_config "/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/createTime": create_time "/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/description": description +"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableInternalIp": enable_internal_ip "/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableVariableMasking": enable_variable_masking "/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/id": id "/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/isGmek": is_gmek @@ -246591,6 +246657,10 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaCloudSchedulerConfig/errorMessage": error_message "/integrations:v1/GoogleCloudIntegrationsV1alphaCloudSchedulerConfig/location": location "/integrations:v1/GoogleCloudIntegrationsV1alphaCloudSchedulerConfig/serviceAccountEmail": service_account_email +"/integrations:v1/GoogleCloudIntegrationsV1alphaConditionalFailurePolicies": google_cloud_integrations_v1alpha_conditional_failure_policies +"/integrations:v1/GoogleCloudIntegrationsV1alphaConditionalFailurePolicies/defaultFailurePolicy": default_failure_policy +"/integrations:v1/GoogleCloudIntegrationsV1alphaConditionalFailurePolicies/failurePolicies": failure_policies +"/integrations:v1/GoogleCloudIntegrationsV1alphaConditionalFailurePolicies/failurePolicies/failure_policy": failure_policy "/integrations:v1/GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata": google_cloud_integrations_v1alpha_connection_schema_metadata "/integrations:v1/GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata/actions": actions "/integrations:v1/GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata/actions/action": action @@ -246643,6 +246713,10 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse": google_cloud_integrations_v1alpha_download_json_package_response "/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse/files": files "/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse/files/file": file +"/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadTemplateResponse": google_cloud_integrations_v1alpha_download_template_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadTemplateResponse/content": content +"/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse": google_cloud_integrations_v1alpha_download_test_case_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse/content": content "/integrations:v1/GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse": google_cloud_integrations_v1alpha_enumerate_connector_platform_regions_response "/integrations:v1/GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse/regions": regions "/integrations:v1/GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse/regions/region": region @@ -246678,6 +246752,16 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse/outputParameters/output_parameter": output_parameter "/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse/parameterEntries": parameter_entries "/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse/parameterEntries/parameter_entry": parameter_entry +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest": google_cloud_integrations_v1alpha_execute_test_case_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest/inputParameters": input_parameters +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest/inputParameters/input_parameter": input_parameter +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse": google_cloud_integrations_v1alpha_execute_test_case_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse/assertionResults": assertion_results +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse/assertionResults/assertion_result": assertion_result +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse/executionId": execution_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse/outputParameters": output_parameters +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse/outputParameters/output_parameter": output_parameter +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse/testExecutionState": test_execution_state "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution": google_cloud_integrations_v1alpha_execution "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/cloudLoggingDetails": cloud_logging_details "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/createTime": create_time @@ -246688,6 +246772,7 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/executionMethod": execution_method "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/integrationVersionState": integration_version_state "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/name": name +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/replayInfo": replay_info "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/requestParameters": request_parameters "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/requestParameters/request_parameter": request_parameter "/integrations:v1/GoogleCloudIntegrationsV1alphaExecution/requestParams": request_params @@ -246706,6 +246791,12 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionDetails/executionSnapshots": execution_snapshots "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionDetails/executionSnapshots/execution_snapshot": execution_snapshot "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionDetails/state": state +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionReplayInfo": google_cloud_integrations_v1alpha_execution_replay_info +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionReplayInfo/originalExecutionInfoId": original_execution_info_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionReplayInfo/replayMode": replay_mode +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionReplayInfo/replayReason": replay_reason +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionReplayInfo/replayedExecutionInfoIds": replayed_execution_info_ids +"/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionReplayInfo/replayedExecutionInfoIds/replayed_execution_info_id": replayed_execution_info_id "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionSnapshot": google_cloud_integrations_v1alpha_execution_snapshot "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionSnapshot/checkpointTaskNumber": checkpoint_task_number "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionSnapshot/executionSnapshotMetadata": execution_snapshot_metadata @@ -246727,6 +246818,7 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata/taskLabel": task_label "/integrations:v1/GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata/taskNumber": task_number "/integrations:v1/GoogleCloudIntegrationsV1alphaFailurePolicy": google_cloud_integrations_v1alpha_failure_policy +"/integrations:v1/GoogleCloudIntegrationsV1alphaFailurePolicy/condition": condition "/integrations:v1/GoogleCloudIntegrationsV1alphaFailurePolicy/intervalTime": interval_time "/integrations:v1/GoogleCloudIntegrationsV1alphaFailurePolicy/maxRetries": max_retries "/integrations:v1/GoogleCloudIntegrationsV1alphaFailurePolicy/retryStrategy": retry_strategy @@ -246735,6 +246827,12 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaFile/integrationConfig/integration_config": integration_config "/integrations:v1/GoogleCloudIntegrationsV1alphaFile/integrationVersion": integration_version "/integrations:v1/GoogleCloudIntegrationsV1alphaFile/type": type +"/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest": google_cloud_integrations_v1alpha_generate_open_api_spec_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest/apiTriggerResources": api_trigger_resources +"/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest/apiTriggerResources/api_trigger_resource": api_trigger_resource +"/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest/fileFormat": file_format +"/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse": google_cloud_integrations_v1alpha_generate_open_api_spec_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse/openApiSpec": open_api_spec "/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateTokenResponse": google_cloud_integrations_v1alpha_generate_token_response "/integrations:v1/GoogleCloudIntegrationsV1alphaGenerateTokenResponse/message": message "/integrations:v1/GoogleCloudIntegrationsV1alphaGetBundleResponse": google_cloud_integrations_v1alpha_get_bundle_response @@ -246743,6 +246841,15 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaGetClientMetadataResponse/properties": properties "/integrations:v1/GoogleCloudIntegrationsV1alphaGetClientResponse": google_cloud_integrations_v1alpha_get_client_response "/integrations:v1/GoogleCloudIntegrationsV1alphaGetClientResponse/client": client +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateRequest": google_cloud_integrations_v1alpha_import_template_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateRequest/integration": integration +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateRequest/integrationRegion": integration_region +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateRequest/subIntegrations": sub_integrations +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateRequest/subIntegrations/sub_integration": sub_integration +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateResponse": google_cloud_integrations_v1alpha_import_template_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateResponse/integrationVersion": integration_version +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateResponse/subIntegrationVersions": sub_integration_versions +"/integrations:v1/GoogleCloudIntegrationsV1alphaImportTemplateResponse/subIntegrationVersions/sub_integration_version": sub_integration_version "/integrations:v1/GoogleCloudIntegrationsV1alphaIntParameterArray": google_cloud_integrations_v1alpha_int_parameter_array "/integrations:v1/GoogleCloudIntegrationsV1alphaIntParameterArray/intValues": int_values "/integrations:v1/GoogleCloudIntegrationsV1alphaIntParameterArray/intValues/int_value": int_value @@ -246778,6 +246885,7 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/containsLargeData": contains_large_data "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/dataType": data_type "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/defaultValue": default_value +"/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/description": description "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/displayName": display_name "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/inputOutputType": input_output_type "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationParameter/isTransient": is_transient @@ -246820,6 +246928,9 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationVersion/triggerConfigsInternal/trigger_configs_internal": trigger_configs_internal "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationVersion/updateTime": update_time "/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationVersion/userLabel": user_label +"/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate": google_cloud_integrations_v1alpha_integration_version_template +"/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate/integrationVersion": integration_version +"/integrations:v1/GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate/key": key "/integrations:v1/GoogleCloudIntegrationsV1alphaJwt": google_cloud_integrations_v1alpha_jwt "/integrations:v1/GoogleCloudIntegrationsV1alphaJwt/jwt": jwt "/integrations:v1/GoogleCloudIntegrationsV1alphaJwt/jwtHeader": jwt_header @@ -246887,6 +246998,23 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse": google_cloud_integrations_v1alpha_list_task_entities_response "/integrations:v1/GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse/taskEntities": task_entities "/integrations:v1/GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse/taskEntities/task_entity": task_entity +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTemplatesResponse": google_cloud_integrations_v1alpha_list_templates_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTemplatesResponse/nextPageToken": next_page_token +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTemplatesResponse/templates": templates +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTemplatesResponse/templates/template": template +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse": google_cloud_integrations_v1alpha_list_test_case_executions_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse/executions": executions +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse/executions/execution": execution +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse/nextPageToken": next_page_token +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCasesResponse": google_cloud_integrations_v1alpha_list_test_cases_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCasesResponse/nextPageToken": next_page_token +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCasesResponse/testCases": test_cases +"/integrations:v1/GoogleCloudIntegrationsV1alphaListTestCasesResponse/testCases/test_case": test_case +"/integrations:v1/GoogleCloudIntegrationsV1alphaMockConfig": google_cloud_integrations_v1alpha_mock_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaMockConfig/failedExecutions": failed_executions +"/integrations:v1/GoogleCloudIntegrationsV1alphaMockConfig/mockStrategy": mock_strategy +"/integrations:v1/GoogleCloudIntegrationsV1alphaMockConfig/parameters": parameters +"/integrations:v1/GoogleCloudIntegrationsV1alphaMockConfig/parameters/parameter": parameter "/integrations:v1/GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy": google_cloud_integrations_v1alpha_monitor_execution_stats_request_group_by "/integrations:v1/GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy/fields": fields "/integrations:v1/GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestGroupBy/fields/field": field @@ -246980,6 +247108,13 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse": google_cloud_integrations_v1alpha_publish_integration_version_response "/integrations:v1/GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest": google_cloud_integrations_v1alpha_replace_service_account_request "/integrations:v1/GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest/runAsServiceAccount": run_as_service_account +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionRequest": google_cloud_integrations_v1alpha_replay_execution_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionRequest/replayReason": replay_reason +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionResponse": google_cloud_integrations_v1alpha_replay_execution_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionResponse/executionId": execution_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionResponse/outputParameters": output_parameters +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionResponse/outputParameters/output_parameter": output_parameter +"/integrations:v1/GoogleCloudIntegrationsV1alphaReplayExecutionResponse/replayedExecutionId": replayed_execution_id "/integrations:v1/GoogleCloudIntegrationsV1alphaResolveSuspensionRequest": google_cloud_integrations_v1alpha_resolve_suspension_request "/integrations:v1/GoogleCloudIntegrationsV1alphaResolveSuspensionRequest/suspension": suspension "/integrations:v1/GoogleCloudIntegrationsV1alphaResolveSuspensionResponse": google_cloud_integrations_v1alpha_resolve_suspension_response @@ -247004,6 +247139,10 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse": google_cloud_integrations_v1alpha_schedule_integrations_response "/integrations:v1/GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse/executionInfoIds": execution_info_ids "/integrations:v1/GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse/executionInfoIds/execution_info_id": execution_info_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaSearchTemplatesResponse": google_cloud_integrations_v1alpha_search_templates_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaSearchTemplatesResponse/nextPageToken": next_page_token +"/integrations:v1/GoogleCloudIntegrationsV1alphaSearchTemplatesResponse/templates": templates +"/integrations:v1/GoogleCloudIntegrationsV1alphaSearchTemplatesResponse/templates/template": template "/integrations:v1/GoogleCloudIntegrationsV1alphaSerializedFile": google_cloud_integrations_v1alpha_serialized_file "/integrations:v1/GoogleCloudIntegrationsV1alphaSerializedFile/content": content "/integrations:v1/GoogleCloudIntegrationsV1alphaSerializedFile/file": file @@ -247031,6 +247170,9 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaSfdcInstance/serviceAuthority": service_authority "/integrations:v1/GoogleCloudIntegrationsV1alphaSfdcInstance/sfdcOrgId": sfdc_org_id "/integrations:v1/GoogleCloudIntegrationsV1alphaSfdcInstance/updateTime": update_time +"/integrations:v1/GoogleCloudIntegrationsV1alphaShareTemplateRequest": google_cloud_integrations_v1alpha_share_template_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaShareTemplateRequest/resourceNames": resource_names +"/integrations:v1/GoogleCloudIntegrationsV1alphaShareTemplateRequest/resourceNames/resource_name": resource_name "/integrations:v1/GoogleCloudIntegrationsV1alphaStringParameterArray": google_cloud_integrations_v1alpha_string_parameter_array "/integrations:v1/GoogleCloudIntegrationsV1alphaStringParameterArray/stringValues": string_values "/integrations:v1/GoogleCloudIntegrationsV1alphaStringParameterArray/stringValues/string_value": string_value @@ -247066,7 +247208,9 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest": google_cloud_integrations_v1alpha_takeover_edit_lock_request "/integrations:v1/GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse": google_cloud_integrations_v1alpha_takeover_edit_lock_response "/integrations:v1/GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse/integrationVersion": integration_version +"/integrations:v1/GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest": google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskConfig": google_cloud_integrations_v1alpha_task_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaTaskConfig/conditionalFailurePolicies": conditional_failure_policies "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskConfig/description": description "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskConfig/displayName": display_name "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskConfig/errorCatcherId": error_catcher_id @@ -247090,6 +247234,50 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskExecutionDetails/taskAttemptStats/task_attempt_stat": task_attempt_stat "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskExecutionDetails/taskExecutionState": task_execution_state "/integrations:v1/GoogleCloudIntegrationsV1alphaTaskExecutionDetails/taskNumber": task_number +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate": google_cloud_integrations_v1alpha_template +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/author": author +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/categories": categories +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/categories/category": category +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/components": components +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/components/component": component +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/createTime": create_time +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/description": description +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/displayName": display_name +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/docLink": doc_link +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/lastUsedTime": last_used_time +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/name": name +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/sharedWith": shared_with +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/sharedWith/shared_with": shared_with +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/tags": tags +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/tags/tag": tag +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/templateBundle": template_bundle +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/updateTime": update_time +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/usageCount": usage_count +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/usageInfo": usage_info +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplate/visibility": visibility +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateBundle": google_cloud_integrations_v1alpha_template_bundle +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateBundle/integrationVersionTemplate": integration_version_template +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateBundle/subIntegrationVersionTemplates": sub_integration_version_templates +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateBundle/subIntegrationVersionTemplates/sub_integration_version_template": sub_integration_version_template +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateComponent": google_cloud_integrations_v1alpha_template_component +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateComponent/name": name +"/integrations:v1/GoogleCloudIntegrationsV1alphaTemplateComponent/type": type +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase": google_cloud_integrations_v1alpha_test_case +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/createTime": create_time +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/creatorEmail": creator_email +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/databasePersistencePolicy": database_persistence_policy +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/description": description +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/displayName": display_name +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/lastModifierEmail": last_modifier_email +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/lockHolderEmail": lock_holder_email +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/name": name +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/testInputParameters": test_input_parameters +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/testInputParameters/test_input_parameter": test_input_parameter +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/testTaskConfigs": test_task_configs +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/testTaskConfigs/test_task_config": test_task_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/triggerConfig": trigger_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/triggerId": trigger_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestCase/updateTime": update_time "/integrations:v1/GoogleCloudIntegrationsV1alphaTestIntegrationsRequest": google_cloud_integrations_v1alpha_test_integrations_request "/integrations:v1/GoogleCloudIntegrationsV1alphaTestIntegrationsRequest/clientId": client_id "/integrations:v1/GoogleCloudIntegrationsV1alphaTestIntegrationsRequest/configParameters": config_parameters @@ -247109,14 +247297,23 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaTestIntegrationsResponse/parameterEntries/parameter_entry": parameter_entry "/integrations:v1/GoogleCloudIntegrationsV1alphaTestIntegrationsResponse/parameters": parameters "/integrations:v1/GoogleCloudIntegrationsV1alphaTestIntegrationsResponse/parameters/parameter": parameter +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig": google_cloud_integrations_v1alpha_test_task_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/assertions": assertions +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/assertions/assertion": assertion +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/mockConfig": mock_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/task": task +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/taskConfig": task_config +"/integrations:v1/GoogleCloudIntegrationsV1alphaTestTaskConfig/taskNumber": task_number "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig": google_cloud_integrations_v1alpha_trigger_config "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/alertConfig": alert_config "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/alertConfig/alert_config": alert_config "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/cloudSchedulerConfig": cloud_scheduler_config "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/description": description "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/errorCatcherId": error_catcher_id +"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/inputVariables": input_variables "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/label": label "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/nextTasksExecutionPolicy": next_tasks_execution_policy +"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/outputVariables": output_variables "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/position": position "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/properties": properties "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/properties/property": property @@ -247126,7 +247323,13 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/triggerId": trigger_id "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/triggerNumber": trigger_number "/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfig/triggerType": trigger_type +"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfigVariables": google_cloud_integrations_v1alpha_trigger_config_variables +"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfigVariables/names": names +"/integrations:v1/GoogleCloudIntegrationsV1alphaTriggerConfigVariables/names/name": name "/integrations:v1/GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest": google_cloud_integrations_v1alpha_unpublish_integration_version_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaUnshareTemplateRequest": google_cloud_integrations_v1alpha_unshare_template_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaUnshareTemplateRequest/resourceNames": resource_names +"/integrations:v1/GoogleCloudIntegrationsV1alphaUnshareTemplateRequest/resourceNames/resource_name": resource_name "/integrations:v1/GoogleCloudIntegrationsV1alphaUpdateBundleRequest": google_cloud_integrations_v1alpha_update_bundle_request "/integrations:v1/GoogleCloudIntegrationsV1alphaUpdateBundleRequest/config": config "/integrations:v1/GoogleCloudIntegrationsV1alphaUpdateBundleResponse": google_cloud_integrations_v1alpha_update_bundle_response @@ -247136,6 +247339,28 @@ "/integrations:v1/GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest/fileFormat": file_format "/integrations:v1/GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse": google_cloud_integrations_v1alpha_upload_integration_version_response "/integrations:v1/GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse/integrationVersion": integration_version +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTemplateRequest": google_cloud_integrations_v1alpha_upload_template_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTemplateRequest/content": content +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTemplateRequest/fileFormat": file_format +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTemplateResponse": google_cloud_integrations_v1alpha_upload_template_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTemplateResponse/template": template +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTestCaseRequest": google_cloud_integrations_v1alpha_upload_test_case_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTestCaseRequest/content": content +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTestCaseRequest/fileFormat": file_format +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTestCaseResponse": google_cloud_integrations_v1alpha_upload_test_case_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaUploadTestCaseResponse/testCase": test_case +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequest": google_cloud_integrations_v1alpha_use_template_request +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequest/integrationDetails": integration_details +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequest/integrationRegion": integration_region +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequest/subIntegrations": sub_integrations +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequest/subIntegrations/sub_integration": sub_integration +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails": google_cloud_integrations_v1alpha_use_template_request_integration_details +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails/integration": integration +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails/integrationDescription": integration_description +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateResponse": google_cloud_integrations_v1alpha_use_template_response +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateResponse/integrationVersion": integration_version +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateResponse/subIntegrationVersions": sub_integration_versions +"/integrations:v1/GoogleCloudIntegrationsV1alphaUseTemplateResponse/subIntegrationVersions/sub_integration_version": sub_integration_version "/integrations:v1/GoogleCloudIntegrationsV1alphaUsernameAndPassword": google_cloud_integrations_v1alpha_username_and_password "/integrations:v1/GoogleCloudIntegrationsV1alphaUsernameAndPassword/password": password "/integrations:v1/GoogleCloudIntegrationsV1alphaUsernameAndPassword/username": username @@ -247247,6 +247472,8 @@ "/integrations:v1/integrations.projects.locations.connections.runtimeEntitySchemas.list/pageSize": page_size "/integrations:v1/integrations.projects.locations.connections.runtimeEntitySchemas.list/pageToken": page_token "/integrations:v1/integrations.projects.locations.connections.runtimeEntitySchemas.list/parent": parent +"/integrations:v1/integrations.projects.locations.generateOpenApiSpec": generate_project_location_open_api_spec +"/integrations:v1/integrations.projects.locations.generateOpenApiSpec/name": name "/integrations:v1/integrations.projects.locations.getClients": get_project_location_clients "/integrations:v1/integrations.projects.locations.getClients/parent": parent "/integrations:v1/integrations.projects.locations.integrations.delete": delete_project_location_integration @@ -247256,6 +247483,8 @@ "/integrations:v1/integrations.projects.locations.integrations.executeEvent": execute_project_location_integration_event "/integrations:v1/integrations.projects.locations.integrations.executeEvent/name": name "/integrations:v1/integrations.projects.locations.integrations.executeEvent/triggerId": trigger_id +"/integrations:v1/integrations.projects.locations.integrations.executions.cancel": cancel_project_location_integration_execution +"/integrations:v1/integrations.projects.locations.integrations.executions.cancel/name": name "/integrations:v1/integrations.projects.locations.integrations.executions.download": download_project_location_integration_execution "/integrations:v1/integrations.projects.locations.integrations.executions.download/name": name "/integrations:v1/integrations.projects.locations.integrations.executions.get": get_project_location_integration_execution @@ -247282,6 +247511,8 @@ "/integrations:v1/integrations.projects.locations.integrations.executions.list/refreshAcl": refresh_acl "/integrations:v1/integrations.projects.locations.integrations.executions.list/snapshotMetadataWithoutParams": snapshot_metadata_without_params "/integrations:v1/integrations.projects.locations.integrations.executions.list/truncateParams": truncate_params +"/integrations:v1/integrations.projects.locations.integrations.executions.replay": replay_project_location_integration_execution +"/integrations:v1/integrations.projects.locations.integrations.executions.replay/name": name "/integrations:v1/integrations.projects.locations.integrations.executions.suspensions.lift": lift_project_location_integration_execution_suspension "/integrations:v1/integrations.projects.locations.integrations.executions.suspensions.lift/name": name "/integrations:v1/integrations.projects.locations.integrations.executions.suspensions.list": list_project_location_integration_execution_suspensions @@ -247341,6 +247572,40 @@ "/integrations:v1/integrations.projects.locations.integrations.versions.patch/updateMask": update_mask "/integrations:v1/integrations.projects.locations.integrations.versions.publish": publish_project_location_integration_version "/integrations:v1/integrations.projects.locations.integrations.versions.publish/name": name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.create": create_project_location_integration_version_test_case +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.create/parent": parent +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.create/testCaseId": test_case_id +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.delete": delete_project_location_integration_version_test_case +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.delete/name": name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.download": download_project_location_integration_version_test_case +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.download/fileFormat": file_format +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.download/name": name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.executeTest": execute_project_location_integration_version_test_case_test +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.executeTest/testCaseName": test_case_name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.get": get_project_location_integration_version_test_case +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.get/name": name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list": list_project_location_integration_version_test_cases +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list/filter": filter +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list/orderBy": order_by +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list/pageSize": page_size +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list/pageToken": page_token +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list/parent": parent +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.list/readMask": read_mask +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions": list_project_location_integration_version_test_case_executions +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/filter": filter +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/orderBy": order_by +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/pageSize": page_size +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/pageToken": page_token +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/parent": parent +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/readMask": read_mask +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.listExecutions/truncateParams": truncate_params +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.patch": patch_project_location_integration_version_test_case +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.patch/name": name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.patch/updateMask": update_mask +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.takeoverEditLock": takeover_project_location_integration_version_test_case_edit_lock +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.takeoverEditLock/name": name +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.upload": upload_project_location_integration_version_test_case +"/integrations:v1/integrations.projects.locations.integrations.versions.testCases.upload/parent": parent "/integrations:v1/integrations.projects.locations.integrations.versions.unpublish": unpublish_project_location_integration_version "/integrations:v1/integrations.projects.locations.integrations.versions.unpublish/name": name "/integrations:v1/integrations.projects.locations.integrations.versions.upload": upload_project_location_integration_version @@ -247551,6 +247816,42 @@ "/integrations:v1/integrations.projects.locations.sfdcInstances.sfdcChannels.patch": patch_project_location_sfdc_instance_sfdc_channel "/integrations:v1/integrations.projects.locations.sfdcInstances.sfdcChannels.patch/name": name "/integrations:v1/integrations.projects.locations.sfdcInstances.sfdcChannels.patch/updateMask": update_mask +"/integrations:v1/integrations.projects.locations.templates.create": create_project_location_template +"/integrations:v1/integrations.projects.locations.templates.create/parent": parent +"/integrations:v1/integrations.projects.locations.templates.delete": delete_project_location_template +"/integrations:v1/integrations.projects.locations.templates.delete/name": name +"/integrations:v1/integrations.projects.locations.templates.download": download_project_location_template +"/integrations:v1/integrations.projects.locations.templates.download/fileFormat": file_format +"/integrations:v1/integrations.projects.locations.templates.download/name": name +"/integrations:v1/integrations.projects.locations.templates.get": get_project_location_template +"/integrations:v1/integrations.projects.locations.templates.get/name": name +"/integrations:v1/integrations.projects.locations.templates.import": import_project_location_template +"/integrations:v1/integrations.projects.locations.templates.import/name": name +"/integrations:v1/integrations.projects.locations.templates.list": list_project_location_templates +"/integrations:v1/integrations.projects.locations.templates.list/filter": filter +"/integrations:v1/integrations.projects.locations.templates.list/orderBy": order_by +"/integrations:v1/integrations.projects.locations.templates.list/pageSize": page_size +"/integrations:v1/integrations.projects.locations.templates.list/pageToken": page_token +"/integrations:v1/integrations.projects.locations.templates.list/parent": parent +"/integrations:v1/integrations.projects.locations.templates.list/readMask": read_mask +"/integrations:v1/integrations.projects.locations.templates.patch": patch_project_location_template +"/integrations:v1/integrations.projects.locations.templates.patch/name": name +"/integrations:v1/integrations.projects.locations.templates.patch/updateMask": update_mask +"/integrations:v1/integrations.projects.locations.templates.search": search_project_location_templates +"/integrations:v1/integrations.projects.locations.templates.search/filter": filter +"/integrations:v1/integrations.projects.locations.templates.search/orderBy": order_by +"/integrations:v1/integrations.projects.locations.templates.search/pageSize": page_size +"/integrations:v1/integrations.projects.locations.templates.search/pageToken": page_token +"/integrations:v1/integrations.projects.locations.templates.search/parent": parent +"/integrations:v1/integrations.projects.locations.templates.search/readMask": read_mask +"/integrations:v1/integrations.projects.locations.templates.share": share_project_location_template +"/integrations:v1/integrations.projects.locations.templates.share/name": name +"/integrations:v1/integrations.projects.locations.templates.unshare": unshare_project_location_template +"/integrations:v1/integrations.projects.locations.templates.unshare/name": name +"/integrations:v1/integrations.projects.locations.templates.upload": upload_project_location_template +"/integrations:v1/integrations.projects.locations.templates.upload/parent": parent +"/integrations:v1/integrations.projects.locations.templates.use": use_project_location_template +"/integrations:v1/integrations.projects.locations.templates.use/name": name "/integrations:v1/key": key "/integrations:v1/quotaUser": quota_user "/integrations:v1alpha/CrmlogErrorCode": crmlog_error_code diff --git a/generated/google-apis-integrations_v1/CHANGELOG.md b/generated/google-apis-integrations_v1/CHANGELOG.md index d7c357ef8b0..7588d343001 100644 --- a/generated/google-apis-integrations_v1/CHANGELOG.md +++ b/generated/google-apis-integrations_v1/CHANGELOG.md @@ -1,5 +1,10 @@ # Release history for google-apis-integrations_v1 +### v0.3.0 (2025-01-07) + +* Regenerated from discovery document revision 20241209 +* Regenerated using generator version 0.15.1 + ### v0.2.0 (2024-04-28) * Regenerated from discovery document revision 20240421 diff --git a/generated/google-apis-integrations_v1/google-apis-integrations_v1.gemspec b/generated/google-apis-integrations_v1/google-apis-integrations_v1.gemspec index 463ca507590..93c7c5a056c 100644 --- a/generated/google-apis-integrations_v1/google-apis-integrations_v1.gemspec +++ b/generated/google-apis-integrations_v1/google-apis-integrations_v1.gemspec @@ -29,5 +29,5 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.required_ruby_version = '>= 2.7' - gem.add_runtime_dependency "google-apis-core", ">= 0.14.0", "< 2.a" + gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a" end diff --git a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/classes.rb b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/classes.rb index 7d4db1f8aa0..4ac78f1fb40 100644 --- a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/classes.rb +++ b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/classes.rb @@ -461,6 +461,37 @@ def update!(**args) end end + # Cloud Logging details, selected by the user for the integration version ( + # workflow). This message field will be also used in ExecutionInfo, to indicate + # the CloudLoggingDetails config at the time of workflow (integration version) + # execution, since this field value can be changed for an unpublished workflow. + class EnterpriseCrmEventbusProtoCloudLoggingDetails + include Google::Apis::Core::Hashable + + # Severity selected by the customer for the logs to be sent to Cloud Logging, + # for the integration version getting executed. + # Corresponds to the JSON property `cloudLoggingSeverity` + # @return [String] + attr_accessor :cloud_logging_severity + + # Status of whether Cloud Logging is enabled or not for the integration version + # getting executed. + # Corresponds to the JSON property `enableCloudLogging` + # @return [Boolean] + attr_accessor :enable_cloud_logging + alias_method :enable_cloud_logging?, :enable_cloud_logging + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_logging_severity = args[:cloud_logging_severity] if args.key?(:cloud_logging_severity) + @enable_cloud_logging = args[:enable_cloud_logging] if args.key?(:enable_cloud_logging) + end + end + # Cloud Scheduler Trigger configuration class EnterpriseCrmEventbusProtoCloudSchedulerConfig include Google::Apis::Core::Hashable @@ -588,6 +619,33 @@ def update!(**args) end end + # + class EnterpriseCrmEventbusProtoConditionalFailurePolicies + include Google::Apis::Core::Hashable + + # Policy that defines the task retry logic and failure type. If no FailurePolicy + # is defined for a task, all its dependent tasks will not be executed (i.e, a ` + # retry_strategy` of NONE will be applied). + # Corresponds to the JSON property `defaultFailurePolicy` + # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy] + attr_accessor :default_failure_policy + + # The list of failure policies that will be applied to the task in order. + # Corresponds to the JSON property `failurePolicies` + # @return [Array] + attr_accessor :failure_policies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_failure_policy = args[:default_failure_policy] if args.key?(:default_failure_policy) + @failure_policies = args[:failure_policies] if args.key?(:failure_policies) + end + end + # class EnterpriseCrmEventbusProtoConnectorsConnection include Google::Apis::Core::Hashable @@ -604,6 +662,11 @@ class EnterpriseCrmEventbusProtoConnectorsConnection # @return [String] attr_accessor :connector_version + # The name of the Hostname of the Service Directory service with TLS if used. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # Service name Format: projects/`project`/locations/`location`/namespaces/` # namespace`/services/`service` # Corresponds to the JSON property `serviceName` @@ -618,6 +681,7 @@ def initialize(**args) def update!(**args) @connection_name = args[:connection_name] if args.key?(:connection_name) @connector_version = args[:connector_version] if args.key?(:connector_version) + @host = args[:host] if args.key?(:host) @service_name = args[:service_name] if args.key?(:service_name) end end @@ -836,10 +900,16 @@ def update!(**args) # Contains the details of the execution info of this event: this includes the # tasks execution details plus the event execution statistics. Next available id: - # 11 + # 12 class EnterpriseCrmEventbusProtoEventExecutionDetails include Google::Apis::Core::Hashable + # If the execution is manually canceled, this field will contain the reason for + # cancellation. + # Corresponds to the JSON property `cancelReason` + # @return [String] + attr_accessor :cancel_reason + # # Corresponds to the JSON property `eventAttemptStats` # @return [Array] @@ -894,6 +964,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason) @event_attempt_stats = args[:event_attempt_stats] if args.key?(:event_attempt_stats) @event_execution_snapshot = args[:event_execution_snapshot] if args.key?(:event_execution_snapshot) @event_execution_snapshots_size = args[:event_execution_snapshots_size] if args.key?(:event_execution_snapshots_size) @@ -933,7 +1004,7 @@ def update!(**args) end # Contains the snapshot of the event execution for a given checkpoint. Next - # available id: 13 + # available id: 15 class EnterpriseCrmEventbusProtoEventExecutionSnapshot include Google::Apis::Core::Hashable @@ -943,6 +1014,11 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot # @return [String] attr_accessor :checkpoint_task_number + # Client that the execution snapshot is associated to. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + # All of the computed conditions that been calculated. # Corresponds to the JSON property `conditionResults` # @return [Array] @@ -998,6 +1074,11 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot # @return [String] attr_accessor :task_name + # Name of the workflow this event execution snapshot belongs to. + # Corresponds to the JSON property `workflowName` + # @return [String] + attr_accessor :workflow_name + def initialize(**args) update!(**args) end @@ -1005,6 +1086,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @checkpoint_task_number = args[:checkpoint_task_number] if args.key?(:checkpoint_task_number) + @client_id = args[:client_id] if args.key?(:client_id) @condition_results = args[:condition_results] if args.key?(:condition_results) @diff_params = args[:diff_params] if args.key?(:diff_params) @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id) @@ -1015,6 +1097,7 @@ def update!(**args) @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time) @task_execution_details = args[:task_execution_details] if args.key?(:task_execution_details) @task_name = args[:task_name] if args.key?(:task_name) + @workflow_name = args[:workflow_name] if args.key?(:workflow_name) end end @@ -1134,6 +1217,13 @@ def update!(**args) class EnterpriseCrmEventbusProtoExternalTraffic include Google::Apis::Core::Hashable + # Indicates the client enables internal IP feature, this is applicable for + # internal clients only. + # Corresponds to the JSON property `enableInternalIp` + # @return [Boolean] + attr_accessor :enable_internal_ip + alias_method :enable_internal_ip?, :enable_internal_ip + # User’s GCP project id the traffic is referring to. # Corresponds to the JSON property `gcpProjectId` # @return [String] @@ -1149,9 +1239,13 @@ class EnterpriseCrmEventbusProtoExternalTraffic # @return [String] attr_accessor :location - # LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto: - # product, //depot/google3/java/com/google/enterprise/crm/integrationplatform/ - # api/utils/ConverterUtils.java:source_to_product) + # Enqueue the execution request due to quota issue + # Corresponds to the JSON property `retryRequestForQuota` + # @return [Boolean] + attr_accessor :retry_request_for_quota + alias_method :retry_request_for_quota?, :retry_request_for_quota + + # # Corresponds to the JSON property `source` # @return [String] attr_accessor :source @@ -1162,9 +1256,11 @@ def initialize(**args) # Update properties of this object def update!(**args) + @enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip) @gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id) @gcp_project_number = args[:gcp_project_number] if args.key?(:gcp_project_number) @location = args[:location] if args.key?(:location) + @retry_request_for_quota = args[:retry_request_for_quota] if args.key?(:retry_request_for_quota) @source = args[:source] if args.key?(:source) end end @@ -1188,6 +1284,12 @@ class EnterpriseCrmEventbusProtoFailurePolicy # @return [Fixnum] attr_accessor :max_num_retries + # Optional. The retry condition that will be evaluated for this failure policy + # with the corresponding retry strategy. + # Corresponds to the JSON property `retryCondition` + # @return [String] + attr_accessor :retry_condition + # Defines what happens to the task upon failure. # Corresponds to the JSON property `retryStrategy` # @return [String] @@ -1201,6 +1303,7 @@ def initialize(**args) def update!(**args) @interval_in_seconds = args[:interval_in_seconds] if args.key?(:interval_in_seconds) @max_num_retries = args[:max_num_retries] if args.key?(:max_num_retries) + @retry_condition = args[:retry_condition] if args.key?(:retry_condition) @retry_strategy = args[:retry_strategy] if args.key?(:retry_strategy) end end @@ -1354,8 +1457,7 @@ class EnterpriseCrmEventbusProtoFunctionType # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoIntFunction] attr_accessor :int_function - # LINT.ThenChange(//depot/google3/alkali/apps/integrationplatform/client/ - # workflow_editor/utils/transform_function.ts) + # # Corresponds to the JSON property `jsonFunction` # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoJsonFunction] attr_accessor :json_function @@ -1508,15 +1610,6 @@ class EnterpriseCrmEventbusProtoLogSettings # @return [String] attr_accessor :log_field_name - # Identifies whether a field contains, or may contain, PII or sensitive data, - # and how to sanitize the field if it does. If a field's privacy type cannot be - # determined then it is sanitized (e.g., scrubbed). The specific sanitizer - # implementation is determined by run-time configuration and environment options - # (e.g., prod vs. qa). next_id: 5 - # Corresponds to the JSON property `sanitizeOptions` - # @return [Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsSanitizeOptions] - attr_accessor :sanitize_options - # # Corresponds to the JSON property `seedPeriod` # @return [String] @@ -1527,12 +1620,6 @@ class EnterpriseCrmEventbusProtoLogSettings # @return [String] attr_accessor :seed_scope - # Describes string and array limits when writing to logs. When a limit is - # exceeded the *shortener_type* describes how to shorten the field. next_id: 6 - # Corresponds to the JSON property `shorteningLimits` - # @return [Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsFieldLimits] - attr_accessor :shortening_limits - def initialize(**args) update!(**args) end @@ -1540,10 +1627,8 @@ def initialize(**args) # Update properties of this object def update!(**args) @log_field_name = args[:log_field_name] if args.key?(:log_field_name) - @sanitize_options = args[:sanitize_options] if args.key?(:sanitize_options) @seed_period = args[:seed_period] if args.key?(:seed_period) @seed_scope = args[:seed_scope] if args.key?(:seed_scope) - @shortening_limits = args[:shortening_limits] if args.key?(:shortening_limits) end end @@ -3569,10 +3654,16 @@ def update!(**args) # Contains the details of the execution info of this event: this includes the # tasks execution details plus the event execution statistics. Next available id: - # 11 + # 12 class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails include Google::Apis::Core::Hashable + # If the execution is manually canceled, this field will contain the reason for + # cancellation. + # Corresponds to the JSON property `cancelReason` + # @return [String] + attr_accessor :cancel_reason + # # Corresponds to the JSON property `eventAttemptStats` # @return [Array] @@ -3628,6 +3719,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason) @event_attempt_stats = args[:event_attempt_stats] if args.key?(:event_attempt_stats) @event_execution_snapshot = args[:event_execution_snapshot] if args.key?(:event_execution_snapshot) @event_execution_snapshots_size = args[:event_execution_snapshots_size] if args.key?(:event_execution_snapshots_size) @@ -3641,7 +3733,7 @@ def update!(**args) end # Contains all the execution details for a workflow instance. Next available id: - # 24 + # 27 class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo include Google::Apis::Core::Hashable @@ -3650,6 +3742,14 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo # @return [String] attr_accessor :client_id + # Cloud Logging details, selected by the user for the integration version ( + # workflow). This message field will be also used in ExecutionInfo, to indicate + # the CloudLoggingDetails config at the time of workflow (integration version) + # execution, since this field value can be changed for an unpublished workflow. + # Corresponds to the JSON property `cloudLoggingDetails` + # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudLoggingDetails] + attr_accessor :cloud_logging_details + # Auto-generated. # Corresponds to the JSON property `createTime` # @return [Fixnum] @@ -3669,7 +3769,7 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo # Contains the details of the execution info of this event: this includes the # tasks execution details plus the event execution statistics. Next available id: - # 11 + # 12 # Corresponds to the JSON property `eventExecutionDetails` # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails] attr_accessor :event_execution_details @@ -3685,6 +3785,11 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExecutionTraceInfo] attr_accessor :execution_trace_info + # User-defined label that annotates the executed integration version. + # Corresponds to the JSON property `integrationVersionUserLabel` + # @return [String] + attr_accessor :integration_version_user_label + # Auto-generated. # Corresponds to the JSON property `lastModifiedTime` # @return [Fixnum] @@ -3701,6 +3806,12 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo # @return [String] attr_accessor :product + # Contains the details of the execution info: this includes the replay reason + # and replay tree connecting executions in a parent-child relationship + # Corresponds to the JSON property `replayInfo` + # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo] + attr_accessor :replay_info + # Optional. This is used to de-dup incoming request. # Corresponds to the JSON property `requestId` # @return [String] @@ -3761,15 +3872,18 @@ def initialize(**args) # Update properties of this object def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) + @cloud_logging_details = args[:cloud_logging_details] if args.key?(:cloud_logging_details) @create_time = args[:create_time] if args.key?(:create_time) @error_code = args[:error_code] if args.key?(:error_code) @errors = args[:errors] if args.key?(:errors) @event_execution_details = args[:event_execution_details] if args.key?(:event_execution_details) @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id) @execution_trace_info = args[:execution_trace_info] if args.key?(:execution_trace_info) + @integration_version_user_label = args[:integration_version_user_label] if args.key?(:integration_version_user_label) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @post_method = args[:post_method] if args.key?(:post_method) @product = args[:product] if args.key?(:product) + @replay_info = args[:replay_info] if args.key?(:replay_info) @request_id = args[:request_id] if args.key?(:request_id) @request_params = args[:request_params] if args.key?(:request_params) @response_params = args[:response_params] if args.key?(:response_params) @@ -3782,6 +3896,46 @@ def update!(**args) end end + # Contains the details of the execution info: this includes the replay reason + # and replay tree connecting executions in a parent-child relationship + class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo + include Google::Apis::Core::Hashable + + # If this execution is a replay of another execution, then this field contains + # the original execution id. + # Corresponds to the JSON property `originalExecutionInfoId` + # @return [String] + attr_accessor :original_execution_info_id + + # Replay mode for the execution + # Corresponds to the JSON property `replayMode` + # @return [String] + attr_accessor :replay_mode + + # reason for replay + # Corresponds to the JSON property `replayReason` + # @return [String] + attr_accessor :replay_reason + + # If this execution has been replayed, then this field contains the execution + # ids of the replayed executions. + # Corresponds to the JSON property `replayedExecutionInfoIds` + # @return [Array] + attr_accessor :replayed_execution_info_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @original_execution_info_id = args[:original_execution_info_id] if args.key?(:original_execution_info_id) + @replay_mode = args[:replay_mode] if args.key?(:replay_mode) + @replay_reason = args[:replay_reason] if args.key?(:replay_reason) + @replayed_execution_info_ids = args[:replayed_execution_info_ids] if args.key?(:replayed_execution_info_ids) + end + end + # class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot include Google::Apis::Core::Hashable @@ -4330,6 +4484,13 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig # @return [Array] attr_accessor :alert_configs + # Optional. Determines the number of times the task will be retried on failure + # and with what retry strategy. This is applicable for synchronous calls to + # Eventbus alone (Post). + # Corresponds to the JSON property `conditionalFailurePolicies` + # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionalFailurePolicies] + attr_accessor :conditional_failure_policies + # Auto-generated. # Corresponds to the JSON property `createTime` # @return [String] @@ -4495,6 +4656,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @alert_configs = args[:alert_configs] if args.key?(:alert_configs) + @conditional_failure_policies = args[:conditional_failure_policies] if args.key?(:conditional_failure_policies) @create_time = args[:create_time] if args.key?(:create_time) @creator_email = args[:creator_email] if args.key?(:creator_email) @description = args[:description] if args.key?(:description) @@ -4578,7 +4740,7 @@ def update!(**args) end end - # Configuration detail of a trigger. Next available id: 20 + # Configuration detail of a trigger. Next available id: 22 class EnterpriseCrmFrontendsEventbusProtoTriggerConfig include Google::Apis::Core::Hashable @@ -4616,6 +4778,11 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig # @return [String] attr_accessor :error_catcher_id + # Variables names mapped to api trigger. + # Corresponds to the JSON property `inputVariables` + # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables] + attr_accessor :input_variables + # The user created label for a particular trigger. # Corresponds to the JSON property `label` # @return [String] @@ -4626,6 +4793,11 @@ class EnterpriseCrmFrontendsEventbusProtoTriggerConfig # @return [String] attr_accessor :next_tasks_execution_policy + # Variables names mapped to api trigger. + # Corresponds to the JSON property `outputVariables` + # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables] + attr_accessor :output_variables + # Optional. If set to true, any upcoming requests for this trigger config will # be paused and the executions will be resumed later when the flag is reset. The # workflow to which this trigger config belongs has to be in ACTIVE status for @@ -4696,8 +4868,10 @@ def update!(**args) @description = args[:description] if args.key?(:description) @enabled_clients = args[:enabled_clients] if args.key?(:enabled_clients) @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id) + @input_variables = args[:input_variables] if args.key?(:input_variables) @label = args[:label] if args.key?(:label) @next_tasks_execution_policy = args[:next_tasks_execution_policy] if args.key?(:next_tasks_execution_policy) + @output_variables = args[:output_variables] if args.key?(:output_variables) @pause_workflow_executions = args[:pause_workflow_executions] if args.key?(:pause_workflow_executions) @position = args[:position] if args.key?(:position) @properties = args[:properties] if args.key?(:properties) @@ -4710,6 +4884,25 @@ def update!(**args) end end + # Variables names mapped to api trigger. + class EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables + include Google::Apis::Core::Hashable + + # Optional. List of variable names. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + # class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry include Google::Apis::Core::Hashable @@ -4857,95 +5050,6 @@ def update!(**args) end end - # Describes string and array limits when writing to logs. When a limit is - # exceeded the *shortener_type* describes how to shorten the field. next_id: 6 - class EnterpriseCrmLoggingGwsFieldLimits - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `logAction` - # @return [String] - attr_accessor :log_action - - # To which type(s) of logs the limits apply. - # Corresponds to the JSON property `logType` - # @return [Array] - attr_accessor :log_type - - # maximum array size. If the array exceds this size, the field (list) is - # truncated. - # Corresponds to the JSON property `maxArraySize` - # @return [Fixnum] - attr_accessor :max_array_size - - # maximum string length. If the field exceeds this amount the field is shortened. - # Corresponds to the JSON property `maxStringLength` - # @return [Fixnum] - attr_accessor :max_string_length - - # - # Corresponds to the JSON property `shortenerType` - # @return [String] - attr_accessor :shortener_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_action = args[:log_action] if args.key?(:log_action) - @log_type = args[:log_type] if args.key?(:log_type) - @max_array_size = args[:max_array_size] if args.key?(:max_array_size) - @max_string_length = args[:max_string_length] if args.key?(:max_string_length) - @shortener_type = args[:shortener_type] if args.key?(:shortener_type) - end - end - - # Identifies whether a field contains, or may contain, PII or sensitive data, - # and how to sanitize the field if it does. If a field's privacy type cannot be - # determined then it is sanitized (e.g., scrubbed). The specific sanitizer - # implementation is determined by run-time configuration and environment options - # (e.g., prod vs. qa). next_id: 5 - class EnterpriseCrmLoggingGwsSanitizeOptions - include Google::Apis::Core::Hashable - - # If true, the value has already been sanitized and needs no further - # sanitization. For instance, a D3 customer id is already an obfuscated entity - # and *might not* need further sanitization. - # Corresponds to the JSON property `isAlreadySanitized` - # @return [Boolean] - attr_accessor :is_already_sanitized - alias_method :is_already_sanitized?, :is_already_sanitized - - # To which type(s) of logs the sanitize options apply. - # Corresponds to the JSON property `logType` - # @return [Array] - attr_accessor :log_type - - # - # Corresponds to the JSON property `privacy` - # @return [String] - attr_accessor :privacy - - # - # Corresponds to the JSON property `sanitizeType` - # @return [String] - attr_accessor :sanitize_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_already_sanitized = args[:is_already_sanitized] if args.key?(:is_already_sanitized) - @log_type = args[:log_type] if args.key?(:log_type) - @privacy = args[:privacy] if args.key?(:privacy) - @sanitize_type = args[:sanitize_type] if args.key?(:sanitize_type) - end - end - # AuthConfig defines details of a authentication type. class GoogleCloudConnectorsV1AuthConfig include Google::Apis::Core::Hashable @@ -4971,6 +5075,13 @@ class GoogleCloudConnectorsV1AuthConfig # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow] attr_accessor :oauth2_auth_code_flow + # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google + # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 + # for more details. + # Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged` + # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged] + attr_accessor :oauth2_auth_code_flow_google_managed + # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. # Corresponds to the JSON property `oauth2ClientCredentials` @@ -5004,6 +5115,7 @@ def update!(**args) @auth_key = args[:auth_key] if args.key?(:auth_key) @auth_type = args[:auth_type] if args.key?(:auth_type) @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow) + @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed) @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials) @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer) @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key) @@ -5074,6 +5186,40 @@ def update!(**args) end end + # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google + # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 + # for more details. + class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged + include Google::Apis::Core::Hashable + + # Optional. Authorization code to be exchanged for access and refresh tokens. + # Corresponds to the JSON property `authCode` + # @return [String] + attr_accessor :auth_code + + # Optional. Redirect URI to be provided during the auth code exchange. + # Corresponds to the JSON property `redirectUri` + # @return [String] + attr_accessor :redirect_uri + + # Required. Scopes the connection will request when the user performs the auth + # code flow. + # Corresponds to the JSON property `scopes` + # @return [Array] + attr_accessor :scopes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auth_code = args[:auth_code] if args.key?(:auth_code) + @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri) + @scopes = args[:scopes] if args.key?(:scopes) + end + end + # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials @@ -5294,11 +5440,27 @@ def update!(**args) class GoogleCloudConnectorsV1Connection include Google::Apis::Core::Hashable + # Optional. Async operations enabled for the connection. If Async Operations is + # enabled, Connection allows the customers to initiate async long running + # operations using the actions API. + # Corresponds to the JSON property `asyncOperationsEnabled` + # @return [Boolean] + attr_accessor :async_operations_enabled + alias_method :async_operations_enabled?, :async_operations_enabled + # AuthConfig defines details of a authentication type. # Corresponds to the JSON property `authConfig` # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig] attr_accessor :auth_config + # Optional. Auth override enabled for the connection. If Auth Override is + # enabled, Connection allows the backend service auth to be overridden in the + # entities/actions API. + # Corresponds to the JSON property `authOverrideEnabled` + # @return [Boolean] + attr_accessor :auth_override_enabled + alias_method :auth_override_enabled?, :auth_override_enabled + # Billing config for the connection. # Corresponds to the JSON property `billingConfig` # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1BillingConfig] @@ -5371,6 +5533,12 @@ class GoogleCloudConnectorsV1Connection # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeData] attr_accessor :eventing_runtime_data + # Output only. The name of the Hostname of the Service Directory service with + # TLS. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # Output only. GCR location where the runtime image is stored. formatted like: # gcr.io/`bucketName`/`imageName` # Corresponds to the JSON property `imageLocation` @@ -5448,6 +5616,11 @@ class GoogleCloudConnectorsV1Connection attr_accessor :suspended alias_method :suspended?, :suspended + # Output only. The name of the Service Directory service with TLS. + # Corresponds to the JSON property `tlsServiceDirectory` + # @return [String] + attr_accessor :tls_service_directory + # Output only. Updated time. # Corresponds to the JSON property `updateTime` # @return [String] @@ -5459,7 +5632,9 @@ def initialize(**args) # Update properties of this object def update!(**args) + @async_operations_enabled = args[:async_operations_enabled] if args.key?(:async_operations_enabled) @auth_config = args[:auth_config] if args.key?(:auth_config) + @auth_override_enabled = args[:auth_override_enabled] if args.key?(:auth_override_enabled) @billing_config = args[:billing_config] if args.key?(:billing_config) @config_variables = args[:config_variables] if args.key?(:config_variables) @connection_revision = args[:connection_revision] if args.key?(:connection_revision) @@ -5473,6 +5648,7 @@ def update!(**args) @eventing_config = args[:eventing_config] if args.key?(:eventing_config) @eventing_enablement_type = args[:eventing_enablement_type] if args.key?(:eventing_enablement_type) @eventing_runtime_data = args[:eventing_runtime_data] if args.key?(:eventing_runtime_data) + @host = args[:host] if args.key?(:host) @image_location = args[:image_location] if args.key?(:image_location) @is_trusted_tester = args[:is_trusted_tester] if args.key?(:is_trusted_tester) @labels = args[:labels] if args.key?(:labels) @@ -5486,6 +5662,7 @@ def update!(**args) @status = args[:status] if args.key?(:status) @subscription_type = args[:subscription_type] if args.key?(:subscription_type) @suspended = args[:suspended] if args.key?(:suspended) + @tls_service_directory = args[:tls_service_directory] if args.key?(:tls_service_directory) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -5531,11 +5708,16 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig # @return [Fixnum] attr_accessor :connection_ratelimit_window_seconds - # Optional. Indicates whether connector is deployed on GKE/CloudRun + # Output only. Indicates whether connector is deployed on GKE/CloudRun # Corresponds to the JSON property `deploymentModel` # @return [String] attr_accessor :deployment_model + # Output only. Status of the deployment model migration. + # Corresponds to the JSON property `deploymentModelMigrationState` + # @return [String] + attr_accessor :deployment_model_migration_state + # Autoscaling config for connector deployment system metrics. # Corresponds to the JSON property `hpaConfig` # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1HpaConfig] @@ -5546,6 +5728,11 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig # @return [Fixnum] attr_accessor :internalclient_ratelimit_threshold + # Output only. Max instance request concurrency. + # Corresponds to the JSON property `maxInstanceRequestConcurrency` + # @return [Fixnum] + attr_accessor :max_instance_request_concurrency + # Output only. Max QPS supported by the connector version before throttling of # requests. # Corresponds to the JSON property `ratelimitThreshold` @@ -5567,6 +5754,11 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig # @return [String] attr_accessor :shared_deployment + # Output only. Status of the TLS migration. + # Corresponds to the JSON property `tlsMigrationState` + # @return [String] + attr_accessor :tls_migration_state + def initialize(**args) update!(**args) end @@ -5575,12 +5767,15 @@ def initialize(**args) def update!(**args) @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds) @deployment_model = args[:deployment_model] if args.key?(:deployment_model) + @deployment_model_migration_state = args[:deployment_model_migration_state] if args.key?(:deployment_model_migration_state) @hpa_config = args[:hpa_config] if args.key?(:hpa_config) @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold) + @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency) @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold) @resource_limits = args[:resource_limits] if args.key?(:resource_limits) @resource_requests = args[:resource_requests] if args.key?(:resource_requests) @shared_deployment = args[:shared_deployment] if args.key?(:shared_deployment) + @tls_migration_state = args[:tls_migration_state] if args.key?(:tls_migration_state) end end @@ -5671,7 +5866,7 @@ def update!(**args) class GoogleCloudConnectorsV1EventingConfig include Google::Apis::Core::Hashable - # Additional eventing related field values + # Optional. Additional eventing related field values # Corresponds to the JSON property `additionalVariables` # @return [Array] attr_accessor :additional_variables @@ -5686,7 +5881,7 @@ class GoogleCloudConnectorsV1EventingConfig # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingConfigDeadLetterConfig] attr_accessor :dead_letter_config - # Enrichment Enabled. + # Optional. Enrichment Enabled. # Corresponds to the JSON property `enrichmentEnabled` # @return [Boolean] attr_accessor :enrichment_enabled @@ -5790,6 +5985,11 @@ class GoogleCloudConnectorsV1EventingRuntimeData # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData] attr_accessor :webhook_data + # WebhookSubscriptions has details of webhook subscriptions. + # Corresponds to the JSON property `webhookSubscriptions` + # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions] + attr_accessor :webhook_subscriptions + def initialize(**args) update!(**args) end @@ -5800,6 +6000,7 @@ def update!(**args) @events_listener_psc_sa = args[:events_listener_psc_sa] if args.key?(:events_listener_psc_sa) @status = args[:status] if args.key?(:status) @webhook_data = args[:webhook_data] if args.key?(:webhook_data) + @webhook_subscriptions = args[:webhook_subscriptions] if args.key?(:webhook_subscriptions) end end @@ -5853,6 +6054,25 @@ def update!(**args) end end + # WebhookSubscriptions has details of webhook subscriptions. + class GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions + include Google::Apis::Core::Hashable + + # Output only. Webhook data. + # Corresponds to the JSON property `webhookData` + # @return [Array] + attr_accessor :webhook_data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @webhook_data = args[:webhook_data] if args.key?(:webhook_data) + end + end + # EventingStatus indicates the state of eventing. class GoogleCloudConnectorsV1EventingStatus include Google::Apis::Core::Hashable @@ -5940,6 +6160,11 @@ class GoogleCloudConnectorsV1LogConfig attr_accessor :enabled alias_method :enabled?, :enabled + # Optional. Log configuration level. + # Corresponds to the JSON property `level` + # @return [String] + attr_accessor :level + def initialize(**args) update!(**args) end @@ -5947,6 +6172,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) + @level = args[:level] if args.key?(:level) end end @@ -6049,12 +6275,12 @@ def update!(**args) class GoogleCloudConnectorsV1SslConfig include Google::Apis::Core::Hashable - # Additional SSL related field values + # Optional. Additional SSL related field values # Corresponds to the JSON property `additionalVariables` # @return [Array] attr_accessor :additional_variables - # Type of Client Cert (PEM/JKS/.. etc.) + # Optional. Type of Client Cert (PEM/JKS/.. etc.) # Corresponds to the JSON property `clientCertType` # @return [String] attr_accessor :client_cert_type @@ -6079,22 +6305,22 @@ class GoogleCloudConnectorsV1SslConfig # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret] attr_accessor :private_server_certificate - # Type of Server Cert (PEM/JKS/.. etc.) + # Optional. Type of Server Cert (PEM/JKS/.. etc.) # Corresponds to the JSON property `serverCertType` # @return [String] attr_accessor :server_cert_type - # Trust Model of the SSL connection + # Optional. Trust Model of the SSL connection # Corresponds to the JSON property `trustModel` # @return [String] attr_accessor :trust_model - # Controls the ssl type for the given connector version. + # Optional. Controls the ssl type for the given connector version. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # Bool for enabling SSL + # Optional. Bool for enabling SSL # Corresponds to the JSON property `useSsl` # @return [Boolean] attr_accessor :use_ssl @@ -6165,20 +6391,19 @@ def update!(**args) end end - # Status for the execution attempt. - class GoogleCloudIntegrationsV1alphaAttemptStats + # List of API triggerID and their workflow resource name. + class GoogleCloudIntegrationsV1alphaApiTriggerResource include Google::Apis::Core::Hashable - # The end time of the integration execution for current attempt. - # Corresponds to the JSON property `endTime` + # Required. Integration where the API is published + # Corresponds to the JSON property `integrationResource` # @return [String] - attr_accessor :end_time + attr_accessor :integration_resource - # The start time of the integration execution for current attempt. This could be - # in the future if it's been scheduled. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time + # Required. Trigger Id of the API trigger(s) in the integration + # Corresponds to the JSON property `triggerId` + # @return [Array] + attr_accessor :trigger_id def initialize(**args) update!(**args) @@ -6186,37 +6411,147 @@ def initialize(**args) # Update properties of this object def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) + @integration_resource = args[:integration_resource] if args.key?(:integration_resource) + @trigger_id = args[:trigger_id] if args.key?(:trigger_id) end end - # The AuthConfig resource use to hold channels and connection config data. - class GoogleCloudIntegrationsV1alphaAuthConfig + # An assertion which will check for a condition over task execution status or an + # expression for task output variables + class GoogleCloudIntegrationsV1alphaAssertion include Google::Apis::Core::Hashable - # Certificate id for client certificate - # Corresponds to the JSON property `certificateId` + # Optional. The type of assertion to perform. + # Corresponds to the JSON property `assertionStrategy` # @return [String] - attr_accessor :certificate_id + attr_accessor :assertion_strategy - # Output only. The timestamp when the auth config is created. - # Corresponds to the JSON property `createTime` + # Optional. Standard filter expression for ASSERT_CONDITION to succeed + # Corresponds to the JSON property `condition` # @return [String] - attr_accessor :create_time + attr_accessor :condition - # The creator's email address. Generated based on the End User Credentials/LOAS - # role of the user making the call. - # Corresponds to the JSON property `creatorEmail` - # @return [String] - attr_accessor :creator_email + # This message is used for processing and persisting (when applicable) key value + # pair parameters for each event in the event bus. Next available id: 4 + # Corresponds to the JSON property `parameter` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter] + attr_accessor :parameter - # Credential type of the encrypted credential. - # Corresponds to the JSON property `credentialType` - # @return [String] - attr_accessor :credential_type + # Number of times given task should be retried in case of + # ASSERT_FAILED_EXECUTION + # Corresponds to the JSON property `retryCount` + # @return [Fixnum] + attr_accessor :retry_count - # Defines parameters for a single, canonical credential. + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assertion_strategy = args[:assertion_strategy] if args.key?(:assertion_strategy) + @condition = args[:condition] if args.key?(:condition) + @parameter = args[:parameter] if args.key?(:parameter) + @retry_count = args[:retry_count] if args.key?(:retry_count) + end + end + + # The result of an assertion. + class GoogleCloudIntegrationsV1alphaAssertionResult + include Google::Apis::Core::Hashable + + # An assertion which will check for a condition over task execution status or an + # expression for task output variables + # Corresponds to the JSON property `assertion` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion] + attr_accessor :assertion + + # Details of the assertion failure + # Corresponds to the JSON property `failureMessage` + # @return [String] + attr_accessor :failure_message + + # Status of assertion to signify if the assertion succeeded or failed + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Task name of task where the assertion was run. + # Corresponds to the JSON property `taskName` + # @return [String] + attr_accessor :task_name + + # Task number of task where the assertion was run. + # Corresponds to the JSON property `taskNumber` + # @return [String] + attr_accessor :task_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assertion = args[:assertion] if args.key?(:assertion) + @failure_message = args[:failure_message] if args.key?(:failure_message) + @status = args[:status] if args.key?(:status) + @task_name = args[:task_name] if args.key?(:task_name) + @task_number = args[:task_number] if args.key?(:task_number) + end + end + + # Status for the execution attempt. + class GoogleCloudIntegrationsV1alphaAttemptStats + include Google::Apis::Core::Hashable + + # The end time of the integration execution for current attempt. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The start time of the integration execution for current attempt. This could be + # in the future if it's been scheduled. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # The AuthConfig resource use to hold channels and connection config data. + class GoogleCloudIntegrationsV1alphaAuthConfig + include Google::Apis::Core::Hashable + + # Certificate id for client certificate + # Corresponds to the JSON property `certificateId` + # @return [String] + attr_accessor :certificate_id + + # Output only. The timestamp when the auth config is created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The creator's email address. Generated based on the End User Credentials/LOAS + # role of the user making the call. + # Corresponds to the JSON property `creatorEmail` + # @return [String] + attr_accessor :creator_email + + # Credential type of the encrypted credential. + # Corresponds to the JSON property `credentialType` + # @return [String] + attr_accessor :credential_type + + # Defines parameters for a single, canonical credential. # Corresponds to the JSON property `decryptedCredential` # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCredential] attr_accessor :decrypted_credential @@ -6365,12 +6700,19 @@ def update!(**args) class GoogleCloudIntegrationsV1alphaCancelExecutionRequest include Google::Apis::Core::Hashable + # Required. Reason for cancelling the execution. This is provided by the client + # requesting the cancellation, and is not used by the Platform. + # Corresponds to the JSON property `cancelReason` + # @return [String] + attr_accessor :cancel_reason + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason) end end @@ -6378,7 +6720,7 @@ def update!(**args) class GoogleCloudIntegrationsV1alphaCancelExecutionResponse include Google::Apis::Core::Hashable - # True if cancellation performed successfully + # True if cancellation performed successfully. # Corresponds to the JSON property `isCanceled` # @return [Boolean] attr_accessor :is_canceled @@ -6404,7 +6746,6 @@ class GoogleCloudIntegrationsV1alphaCertificate attr_accessor :certificate_status # Immutable. Credential id that will be used to register with trawler - # INTERNAL_ONLY # Corresponds to the JSON property `credentialId` # @return [String] attr_accessor :credential_id @@ -6552,6 +6893,13 @@ class GoogleCloudIntegrationsV1alphaClientConfig # @return [String] attr_accessor :description + # Optional. Indicates the client enables internal IP feature, this is applicable + # for internal clients only. + # Corresponds to the JSON property `enableInternalIp` + # @return [Boolean] + attr_accessor :enable_internal_ip + alias_method :enable_internal_ip?, :enable_internal_ip + # Optional. True if variable masking feature should be turned on for this region # Corresponds to the JSON property `enableVariableMasking` # @return [Boolean] @@ -6602,6 +6950,7 @@ def update!(**args) @cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) + @enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip) @enable_variable_masking = args[:enable_variable_masking] if args.key?(:enable_variable_masking) @id = args[:id] if args.key?(:id) @is_gmek = args[:is_gmek] if args.key?(:is_gmek) @@ -6733,6 +7082,33 @@ def update!(**args) end end + # Conditional task failur retry strategies + class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies + include Google::Apis::Core::Hashable + + # Policy that defines the task retry logic and failure type. If no FailurePolicy + # is defined for a task, all its dependent tasks will not be executed (i.e, a ` + # retry_strategy` of NONE will be applied). + # Corresponds to the JSON property `defaultFailurePolicy` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy] + attr_accessor :default_failure_policy + + # The list of failure policies that will be applied to the task in order. + # Corresponds to the JSON property `failurePolicies` + # @return [Array] + attr_accessor :failure_policies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_failure_policy = args[:default_failure_policy] if args.key?(:default_failure_policy) + @failure_policies = args[:failure_policies] if args.key?(:failure_policies) + end + end + # Metadata of runtime connection schema. class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata include Google::Apis::Core::Hashable @@ -7053,6 +7429,44 @@ def update!(**args) end end + # Response for DownloadTemplate. + class GoogleCloudIntegrationsV1alphaDownloadTemplateResponse + include Google::Apis::Core::Hashable + + # String representation of the template. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + end + end + + # Response for DownloadTestCase. + class GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse + include Google::Apis::Core::Hashable + + # String representation of the test case. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + end + end + # Response containing all provisioned regions for Connector Platform. class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse include Google::Apis::Core::Hashable @@ -7295,6 +7709,64 @@ def update!(**args) end end + # The request for executing a functional test. + class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest + include Google::Apis::Core::Hashable + + # Optional. Input parameters used by test case execution. + # Corresponds to the JSON property `inputParameters` + # @return [Hash] + attr_accessor :input_parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_parameters = args[:input_parameters] if args.key?(:input_parameters) + end + end + + # The response for executing a functional test. + class GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse + include Google::Apis::Core::Hashable + + # Results of each assertions ran during execution of test case. + # Corresponds to the JSON property `assertionResults` + # @return [Array] + attr_accessor :assertion_results + + # The id of the execution corresponding to this run of integration. + # Corresponds to the JSON property `executionId` + # @return [String] + attr_accessor :execution_id + + # OUTPUT parameters in format of Map. Where Key is the name of the parameter. + # Note: Name of the system generated parameters are wrapped by backtick(`) to + # distinguish them from the user defined parameters. + # Corresponds to the JSON property `outputParameters` + # @return [Hash] + attr_accessor :output_parameters + + # State of the test case execution + # Corresponds to the JSON property `testExecutionState` + # @return [String] + attr_accessor :test_execution_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assertion_results = args[:assertion_results] if args.key?(:assertion_results) + @execution_id = args[:execution_id] if args.key?(:execution_id) + @output_parameters = args[:output_parameters] if args.key?(:output_parameters) + @test_execution_state = args[:test_execution_state] if args.key?(:test_execution_state) + end + end + # The Execution resource contains detailed information of an individual # integration execution. class GoogleCloudIntegrationsV1alphaExecution @@ -7317,7 +7789,7 @@ class GoogleCloudIntegrationsV1alphaExecution # Contains the details of the execution info of this event: this includes the # tasks execution details plus the event execution statistics. Next available id: - # 11 + # 12 # Corresponds to the JSON property `eventExecutionDetails` # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetails] attr_accessor :event_execution_details @@ -7343,6 +7815,12 @@ class GoogleCloudIntegrationsV1alphaExecution # @return [String] attr_accessor :name + # Contains the details of the execution info: this includes the replay reason + # and replay tree connecting executions in a parent-child relationship + # Corresponds to the JSON property `replayInfo` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionReplayInfo] + attr_accessor :replay_info + # Event parameters come in as part of the request. # Corresponds to the JSON property `requestParameters` # @return [Hash] @@ -7353,12 +7831,14 @@ class GoogleCloudIntegrationsV1alphaExecution # @return [Array] attr_accessor :request_params - # Event parameters returned as part of the response. + # Event parameters returned as part of the response. In the case of error, the ` + # ErrorInfo` field is returned in the following format: ` "ErrorInfo": ` " + # message": String, "code": Number ` ` # Corresponds to the JSON property `responseParameters` # @return [Hash] attr_accessor :response_parameters - # Event parameters come out as part of the response. + # # Corresponds to the JSON property `responseParams` # @return [Array] attr_accessor :response_params @@ -7395,6 +7875,7 @@ def update!(**args) @execution_method = args[:execution_method] if args.key?(:execution_method) @integration_version_state = args[:integration_version_state] if args.key?(:integration_version_state) @name = args[:name] if args.key?(:name) + @replay_info = args[:replay_info] if args.key?(:replay_info) @request_parameters = args[:request_parameters] if args.key?(:request_parameters) @request_params = args[:request_params] if args.key?(:request_params) @response_parameters = args[:response_parameters] if args.key?(:response_parameters) @@ -7443,6 +7924,46 @@ def update!(**args) end end + # Contains the details of the execution info: this includes the replay reason + # and replay tree connecting executions in a parent-child relationship + class GoogleCloudIntegrationsV1alphaExecutionReplayInfo + include Google::Apis::Core::Hashable + + # If this execution is a replay of another execution, then this field contains + # the original execution id. + # Corresponds to the JSON property `originalExecutionInfoId` + # @return [String] + attr_accessor :original_execution_info_id + + # Replay mode for the execution + # Corresponds to the JSON property `replayMode` + # @return [String] + attr_accessor :replay_mode + + # reason for replay + # Corresponds to the JSON property `replayReason` + # @return [String] + attr_accessor :replay_reason + + # If this execution has been replayed, then this field contains the execution + # ids of the replayed executions. + # Corresponds to the JSON property `replayedExecutionInfoIds` + # @return [Array] + attr_accessor :replayed_execution_info_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @original_execution_info_id = args[:original_execution_info_id] if args.key?(:original_execution_info_id) + @replay_mode = args[:replay_mode] if args.key?(:replay_mode) + @replay_reason = args[:replay_reason] if args.key?(:replay_reason) + @replayed_execution_info_ids = args[:replayed_execution_info_ids] if args.key?(:replayed_execution_info_ids) + end + end + # Contains the snapshot of the execution for a given checkpoint. class GoogleCloudIntegrationsV1alphaExecutionSnapshot include Google::Apis::Core::Hashable @@ -7549,6 +8070,12 @@ def update!(**args) class GoogleCloudIntegrationsV1alphaFailurePolicy include Google::Apis::Core::Hashable + # Optional. The string condition that will be evaluated to determine if the task + # should be retried with this failure policy. + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/ # RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for # backoff. @@ -7574,6 +8101,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @condition = args[:condition] if args.key?(:condition) @interval_time = args[:interval_time] if args.key?(:interval_time) @max_retries = args[:max_retries] if args.key?(:max_retries) @retry_strategy = args[:retry_strategy] if args.key?(:retry_strategy) @@ -7612,6 +8140,50 @@ def update!(**args) end end + # Request for GenerateOpenApiSpec. + class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest + include Google::Apis::Core::Hashable + + # Required. List of api triggers + # Corresponds to the JSON property `apiTriggerResources` + # @return [Array] + attr_accessor :api_trigger_resources + + # Required. File format for generated spec. + # Corresponds to the JSON property `fileFormat` + # @return [String] + attr_accessor :file_format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_trigger_resources = args[:api_trigger_resources] if args.key?(:api_trigger_resources) + @file_format = args[:file_format] if args.key?(:file_format) + end + end + + # Response of the GenerateOpenApiSpec API. + class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse + include Google::Apis::Core::Hashable + + # Open API spec as per the required format + # Corresponds to the JSON property `openApiSpec` + # @return [String] + attr_accessor :open_api_spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec) + end + end + # Returns success or error message class GoogleCloudIntegrationsV1alphaGenerateTokenResponse include Google::Apis::Core::Hashable @@ -7669,17 +8241,73 @@ def update!(**args) end end - # This message only contains a field of integer array. - class GoogleCloudIntegrationsV1alphaIntParameterArray + # Request to Import template + class GoogleCloudIntegrationsV1alphaImportTemplateRequest include Google::Apis::Core::Hashable - # Integer array. - # Corresponds to the JSON property `intValues` - # @return [Array] - attr_accessor :int_values + # Required. Name of the integration where template needs to be imported. + # Corresponds to the JSON property `integration` + # @return [String] + attr_accessor :integration - def initialize(**args) - update!(**args) + # Required. The region of the Integration to be created. + # Corresponds to the JSON property `integrationRegion` + # @return [String] + attr_accessor :integration_region + + # Optional. Sub Integration which would be created via templates. + # Corresponds to the JSON property `subIntegrations` + # @return [Hash] + attr_accessor :sub_integrations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration = args[:integration] if args.key?(:integration) + @integration_region = args[:integration_region] if args.key?(:integration_region) + @sub_integrations = args[:sub_integrations] if args.key?(:sub_integrations) + end + end + + # Response for import template + class GoogleCloudIntegrationsV1alphaImportTemplateResponse + include Google::Apis::Core::Hashable + + # The integration version definition. + # Corresponds to the JSON property `integrationVersion` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + attr_accessor :integration_version + + # Sub integration versions which are imported. + # Corresponds to the JSON property `subIntegrationVersions` + # @return [Array] + attr_accessor :sub_integration_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration_version = args[:integration_version] if args.key?(:integration_version) + @sub_integration_versions = args[:sub_integration_versions] if args.key?(:sub_integration_versions) + end + end + + # This message only contains a field of integer array. + class GoogleCloudIntegrationsV1alphaIntParameterArray + include Google::Apis::Core::Hashable + + # Integer array. + # Corresponds to the JSON property `intValues` + # @return [Array] + attr_accessor :int_values + + def initialize(**args) + update!(**args) end # Update properties of this object @@ -7922,6 +8550,11 @@ class GoogleCloudIntegrationsV1alphaIntegrationParameter # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType] attr_accessor :default_value + # Optional. Description of the parameter. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # The name (without prefix) to be displayed in the UI for this parameter. E.g. # if the key is "foo.bar.myName", then the name would be "myName". # Corresponds to the JSON property `displayName` @@ -7979,6 +8612,7 @@ def update!(**args) @contains_large_data = args[:contains_large_data] if args.key?(:contains_large_data) @data_type = args[:data_type] if args.key?(:data_type) @default_value = args[:default_value] if args.key?(:default_value) + @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @input_output_type = args[:input_output_type] if args.key?(:input_output_type) @is_transient = args[:is_transient] if args.key?(:is_transient) @@ -8191,6 +8825,31 @@ def update!(**args) end end + # Define the template of IntegrationVersion. + class GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate + include Google::Apis::Core::Hashable + + # The integration version definition. + # Corresponds to the JSON property `integrationVersion` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + attr_accessor :integration_version + + # Required. Unique Key of the IntegrationVersion. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration_version = args[:integration_version] if args.key?(:integration_version) + @key = args[:key] if args.key?(:key) + end + end + # Represents JSON web token(JWT), which is a compact, URL-safe means of # representing claims to be transferred between two parties, enabling the claims # to be digitally signed or integrity protected. @@ -8603,6 +9262,115 @@ def update!(**args) end end + # Response for a request to list templates + class GoogleCloudIntegrationsV1alphaListTemplatesResponse + include Google::Apis::Core::Hashable + + # The token used to retrieve the next page results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of templates retrieved. + # Corresponds to the JSON property `templates` + # @return [Array] + attr_accessor :templates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @templates = args[:templates] if args.key?(:templates) + end + end + + # The response for listing the functional test execution data. + class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse + include Google::Apis::Core::Hashable + + # The detailed information of requested executions + # Corresponds to the JSON property `executions` + # @return [Array] + attr_accessor :executions + + # The token used to retrieve the next page results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @executions = args[:executions] if args.key?(:executions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response for ListTestCases + class GoogleCloudIntegrationsV1alphaListTestCasesResponse + include Google::Apis::Core::Hashable + + # A token, which can be sent as `page_token` to retrieve the next page. If this + # field is omitted, there are no subsequent pages. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The test cases corresponding to the specified filter + # Corresponds to the JSON property `testCases` + # @return [Array] + attr_accessor :test_cases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @test_cases = args[:test_cases] if args.key?(:test_cases) + end + end + + # The configuration for mocking of a task during test execution Next available + # id: 4 + class GoogleCloudIntegrationsV1alphaMockConfig + include Google::Apis::Core::Hashable + + # Optional. Number of times the given task should fail for failure mock strategy + # Corresponds to the JSON property `failedExecutions` + # @return [Fixnum] + attr_accessor :failed_executions + + # Mockstrategy defines how the particular task should be mocked during test + # execution + # Corresponds to the JSON property `mockStrategy` + # @return [String] + attr_accessor :mock_strategy + + # Optional. List of key-value pairs for specific mock strategy + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @failed_executions = args[:failed_executions] if args.key?(:failed_executions) + @mock_strategy = args[:mock_strategy] if args.key?(:mock_strategy) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + # The task that is next in line to be executed, if the condition specified # evaluated to true. class GoogleCloudIntegrationsV1alphaNextTask @@ -9124,6 +9892,60 @@ def update!(**args) end end + # Request for replaying an execution. + class GoogleCloudIntegrationsV1alphaReplayExecutionRequest + include Google::Apis::Core::Hashable + + # Required. The user provided reason for replaying the execution. + # Corresponds to the JSON property `replayReason` + # @return [String] + attr_accessor :replay_reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replay_reason = args[:replay_reason] if args.key?(:replay_reason) + end + end + + # Response for replaying an execution. + class GoogleCloudIntegrationsV1alphaReplayExecutionResponse + include Google::Apis::Core::Hashable + + # Next ID: 4 The id of the execution corresponding to this run of the + # integration. + # Corresponds to the JSON property `executionId` + # @return [String] + attr_accessor :execution_id + + # OUTPUT parameters in format of Map. Where Key is the name of the parameter. + # The parameters would only be present in case of synchrounous execution. Note: + # Name of the system generated parameters are wrapped by backtick(`) to + # distinguish them from the user defined parameters. + # Corresponds to the JSON property `outputParameters` + # @return [Hash] + attr_accessor :output_parameters + + # The execution id which is replayed. + # Corresponds to the JSON property `replayedExecutionId` + # @return [String] + attr_accessor :replayed_execution_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @execution_id = args[:execution_id] if args.key?(:execution_id) + @output_parameters = args[:output_parameters] if args.key?(:output_parameters) + @replayed_execution_id = args[:replayed_execution_id] if args.key?(:replayed_execution_id) + end + end + # Request for [Suspensions.ResolveSuspensions]. class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest include Google::Apis::Core::Hashable @@ -9218,7 +10040,7 @@ def update!(**args) end end - # The request for scheduling an integration. Next available id: 11 + # The request for scheduling an integration. class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest include Google::Apis::Core::Hashable @@ -9301,6 +10123,31 @@ def update!(**args) end end + # Response for a request to search templates + class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse + include Google::Apis::Core::Hashable + + # The token used to retrieve the next page results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of templates retrieved. + # Corresponds to the JSON property `templates` + # @return [Array] + attr_accessor :templates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @templates = args[:templates] if args.key?(:templates) + end + end + # To store string representation of Integration file. class GoogleCloudIntegrationsV1alphaSerializedFile include Google::Apis::Core::Hashable @@ -9492,6 +10339,27 @@ def update!(**args) end end + # Request to Share template + class GoogleCloudIntegrationsV1alphaShareTemplateRequest + include Google::Apis::Core::Hashable + + # Optional. Project name resources to share the template. The project names is + # expected in resource format Ex: projects/`project-number` or organization/`org- + # id` + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_names = args[:resource_names] if args.key?(:resource_names) + end + end + # This message only contains a field of string array. class GoogleCloudIntegrationsV1alphaStringParameterArray include Google::Apis::Core::Hashable @@ -9767,11 +10635,29 @@ def update!(**args) end end + # Request for TakeoverTestCaseEditLock. + class GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # The task configuration details. This is not the implementation of Task. There # might be multiple TaskConfigs for the same Task. class GoogleCloudIntegrationsV1alphaTaskConfig include Google::Apis::Core::Hashable + # Conditional task failur retry strategies + # Corresponds to the JSON property `conditionalFailurePolicies` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConditionalFailurePolicies] + attr_accessor :conditional_failure_policies + # Optional. User-provided description intended to give additional business # context about the task. # Corresponds to the JSON property `description` @@ -9872,6 +10758,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @conditional_failure_policies = args[:conditional_failure_policies] if args.key?(:conditional_failure_policies) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id) @@ -9922,30 +10809,298 @@ def update!(**args) end end - # The request for testing an integration. - class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest + # Defines the template for Application Integration + class GoogleCloudIntegrationsV1alphaTemplate include Google::Apis::Core::Hashable - # Required. This is used to identify the client on whose behalf the event will - # be executed. - # Corresponds to the JSON property `clientId` + # Optional. Creator of the template. + # Corresponds to the JSON property `author` # @return [String] - attr_accessor :client_id + attr_accessor :author - # Optional. Config parameters used during integration execution. - # Corresponds to the JSON property `configParameters` - # @return [Hash] - attr_accessor :config_parameters + # Required. Categories associated with the Template. The categories listed below + # will be utilized for the Template listing. + # Corresponds to the JSON property `categories` + # @return [Array] + attr_accessor :categories - # Optional. custom deadline of the rpc - # Corresponds to the JSON property `deadlineSecondsTime` + # Optional. Components being used in the template. This could be used to + # categorize and filter. + # Corresponds to the JSON property `components` + # @return [Array] + attr_accessor :components + + # Output only. Auto-generated. + # Corresponds to the JSON property `createTime` # @return [String] - attr_accessor :deadline_seconds_time + attr_accessor :create_time - # Optional. Input parameters used during integration execution. - # Corresponds to the JSON property `inputParameters` - # @return [Hash] - attr_accessor :input_parameters + # Optional. Description of the template. The length should not be more than 255 + # characters + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The name of the template + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional. Link to template documentation. + # Corresponds to the JSON property `docLink` + # @return [String] + attr_accessor :doc_link + + # Optional. Time the template was last used. + # Corresponds to the JSON property `lastUsedTime` + # @return [String] + attr_accessor :last_used_time + + # Identifier. Resource name of the template. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. Resource names with which the template is shared for example + # ProjectNumber/Ord id + # Corresponds to the JSON property `sharedWith` + # @return [Array] + attr_accessor :shared_with + + # Required. Tags which are used to identify templates. These tags could be for + # business use case, connectors etc. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # Define the bundle of the template. + # Corresponds to the JSON property `templateBundle` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle] + attr_accessor :template_bundle + + # Output only. Auto-generated + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Optional. Number of template usages. + # Corresponds to the JSON property `usageCount` + # @return [Fixnum] + attr_accessor :usage_count + + # Optional. Information on how to use the template. This should contain detailed + # information about usage of the template. + # Corresponds to the JSON property `usageInfo` + # @return [String] + attr_accessor :usage_info + + # Required. Visibility of the template. + # Corresponds to the JSON property `visibility` + # @return [String] + attr_accessor :visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @author = args[:author] if args.key?(:author) + @categories = args[:categories] if args.key?(:categories) + @components = args[:components] if args.key?(:components) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @doc_link = args[:doc_link] if args.key?(:doc_link) + @last_used_time = args[:last_used_time] if args.key?(:last_used_time) + @name = args[:name] if args.key?(:name) + @shared_with = args[:shared_with] if args.key?(:shared_with) + @tags = args[:tags] if args.key?(:tags) + @template_bundle = args[:template_bundle] if args.key?(:template_bundle) + @update_time = args[:update_time] if args.key?(:update_time) + @usage_count = args[:usage_count] if args.key?(:usage_count) + @usage_info = args[:usage_info] if args.key?(:usage_info) + @visibility = args[:visibility] if args.key?(:visibility) + end + end + + # Define the bundle of the template. + class GoogleCloudIntegrationsV1alphaTemplateBundle + include Google::Apis::Core::Hashable + + # Define the template of IntegrationVersion. + # Corresponds to the JSON property `integrationVersionTemplate` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate] + attr_accessor :integration_version_template + + # Optional. Sub integration templates which would be added along with main + # integration. + # Corresponds to the JSON property `subIntegrationVersionTemplates` + # @return [Array] + attr_accessor :sub_integration_version_templates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration_version_template = args[:integration_version_template] if args.key?(:integration_version_template) + @sub_integration_version_templates = args[:sub_integration_version_templates] if args.key?(:sub_integration_version_templates) + end + end + + # Define the components that are present in a template. + class GoogleCloudIntegrationsV1alphaTemplateComponent + include Google::Apis::Core::Hashable + + # Optional. Name of the component. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. Type of the component. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # Defines the functional test case for Application Integration. Next available + # id: 15 + class GoogleCloudIntegrationsV1alphaTestCase + include Google::Apis::Core::Hashable + + # Auto-generated. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Optional. The creator's email address. Generated based on the End User + # Credentials/LOAS role of the user making the call. + # Corresponds to the JSON property `creatorEmail` + # @return [String] + attr_accessor :creator_email + + # Optional. Various policies for how to persist the test execution info + # including execution info, execution export info, execution metadata index and + # execution param index.. + # Corresponds to the JSON property `databasePersistencePolicy` + # @return [String] + attr_accessor :database_persistence_policy + + # Optional. Description of the test case. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The display name of test case. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The last modifier's email address. Generated based on the End User Credentials/ + # LOAS role of the user making the call. + # Corresponds to the JSON property `lastModifierEmail` + # @return [String] + attr_accessor :last_modifier_email + + # Optional. The edit lock holder's email address. Generated based on the End + # User Credentials/LOAS role of the user making the call. + # Corresponds to the JSON property `lockHolderEmail` + # @return [String] + attr_accessor :lock_holder_email + + # Output only. Auto-generated primary key. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. Parameters that are expected to be passed to the test case when the + # test case is triggered. This gives the user the ability to provide default + # values. This should include all the output variables of the trigger as input + # variables. + # Corresponds to the JSON property `testInputParameters` + # @return [Array] + attr_accessor :test_input_parameters + + # Optional. However, the test case doesn't mock or assert anything without + # test_task_configs. + # Corresponds to the JSON property `testTaskConfigs` + # @return [Array] + attr_accessor :test_task_configs + + # Configuration detail of a trigger. + # Corresponds to the JSON property `triggerConfig` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig] + attr_accessor :trigger_config + + # Required. This defines the trigger ID in workflow which is considered to be + # executed as starting point of the test case + # Corresponds to the JSON property `triggerId` + # @return [String] + attr_accessor :trigger_id + + # Auto-generated. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @creator_email = args[:creator_email] if args.key?(:creator_email) + @database_persistence_policy = args[:database_persistence_policy] if args.key?(:database_persistence_policy) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email) + @lock_holder_email = args[:lock_holder_email] if args.key?(:lock_holder_email) + @name = args[:name] if args.key?(:name) + @test_input_parameters = args[:test_input_parameters] if args.key?(:test_input_parameters) + @test_task_configs = args[:test_task_configs] if args.key?(:test_task_configs) + @trigger_config = args[:trigger_config] if args.key?(:trigger_config) + @trigger_id = args[:trigger_id] if args.key?(:trigger_id) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # The request for testing an integration. + class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest + include Google::Apis::Core::Hashable + + # Required. This is used to identify the client on whose behalf the event will + # be executed. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + + # Optional. Config parameters used during integration execution. + # Corresponds to the JSON property `configParameters` + # @return [Hash] + attr_accessor :config_parameters + + # Optional. custom deadline of the rpc + # Corresponds to the JSON property `deadlineSecondsTime` + # @return [String] + attr_accessor :deadline_seconds_time + + # Optional. Input parameters used during integration execution. + # Corresponds to the JSON property `inputParameters` + # @return [Hash] + attr_accessor :input_parameters # The integration version definition. # Corresponds to the JSON property `integrationVersion` @@ -10041,6 +11196,56 @@ def update!(**args) end end + # The task mock configuration details and assertions for functional tests. Next + # available id: 6 + class GoogleCloudIntegrationsV1alphaTestTaskConfig + include Google::Apis::Core::Hashable + + # Optional. List of conditions or expressions which should be evaluated to true + # unless there is a bug/problem in the integration. These are evaluated one the + # task execution is completed as per the mock strategy in test case + # Corresponds to the JSON property `assertions` + # @return [Array] + attr_accessor :assertions + + # The configuration for mocking of a task during test execution Next available + # id: 4 + # Corresponds to the JSON property `mockConfig` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaMockConfig] + attr_accessor :mock_config + + # Required. This defines in the test case, the task name in integration which + # will be mocked by this test task config + # Corresponds to the JSON property `task` + # @return [String] + attr_accessor :task + + # The task configuration details. This is not the implementation of Task. There + # might be multiple TaskConfigs for the same Task. + # Corresponds to the JSON property `taskConfig` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTaskConfig] + attr_accessor :task_config + + # Required. This defines in the test case, the task in integration which will be + # mocked by this test task config + # Corresponds to the JSON property `taskNumber` + # @return [String] + attr_accessor :task_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assertions = args[:assertions] if args.key?(:assertions) + @mock_config = args[:mock_config] if args.key?(:mock_config) + @task = args[:task] if args.key?(:task) + @task_config = args[:task_config] if args.key?(:task_config) + @task_number = args[:task_number] if args.key?(:task_number) + end + end + # Configuration detail of a trigger. class GoogleCloudIntegrationsV1alphaTriggerConfig include Google::Apis::Core::Hashable @@ -10071,6 +11276,11 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig # @return [String] attr_accessor :error_catcher_id + # Variables names mapped to api trigger. + # Corresponds to the JSON property `inputVariables` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables] + attr_accessor :input_variables + # Optional. The user created label for a particular trigger. # Corresponds to the JSON property `label` # @return [String] @@ -10081,6 +11291,11 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig # @return [String] attr_accessor :next_tasks_execution_policy + # Variables names mapped to api trigger. + # Corresponds to the JSON property `outputVariables` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables] + attr_accessor :output_variables + # Configuration detail of coordinate, it used for UI # Corresponds to the JSON property `position` # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate] @@ -10107,7 +11322,10 @@ class GoogleCloudIntegrationsV1alphaTriggerConfig # @return [String] attr_accessor :trigger - # Optional. The backend trigger ID. + # Optional. Auto-generated trigger ID. The ID is based on the properties that + # you define in the trigger config. For example, for an API trigger, the trigger + # ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has + # properties with value `"Trigger name": TRIGGER_NAME` # Corresponds to the JSON property `triggerId` # @return [String] attr_accessor :trigger_id @@ -10133,8 +11351,10 @@ def update!(**args) @cloud_scheduler_config = args[:cloud_scheduler_config] if args.key?(:cloud_scheduler_config) @description = args[:description] if args.key?(:description) @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id) + @input_variables = args[:input_variables] if args.key?(:input_variables) @label = args[:label] if args.key?(:label) @next_tasks_execution_policy = args[:next_tasks_execution_policy] if args.key?(:next_tasks_execution_policy) + @output_variables = args[:output_variables] if args.key?(:output_variables) @position = args[:position] if args.key?(:position) @properties = args[:properties] if args.key?(:properties) @start_tasks = args[:start_tasks] if args.key?(:start_tasks) @@ -10145,6 +11365,25 @@ def update!(**args) end end + # Variables names mapped to api trigger. + class GoogleCloudIntegrationsV1alphaTriggerConfigVariables + include Google::Apis::Core::Hashable + + # Optional. List of variable names. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + # Request for UnpublishIntegrationVersion. class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest include Google::Apis::Core::Hashable @@ -10158,11 +11397,31 @@ def update!(**args) end end + # Request to Unshare template + class GoogleCloudIntegrationsV1alphaUnshareTemplateRequest + include Google::Apis::Core::Hashable + + # Optional. Project name resources to unshare the template. The project names is + # expected in resource format Ex: projects/`project-number` + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_names = args[:resource_names] if args.key?(:resource_names) + end + end + # Request for UploadIntegrationVersion. class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest include Google::Apis::Core::Hashable - # The textproto of the integration_version. + # The textproto of the IntegrationVersion. # Corresponds to the JSON property `content` # @return [String] attr_accessor :content @@ -10202,6 +11461,177 @@ def update!(**args) end end + # Request for UploadTemplate. + class GoogleCloudIntegrationsV1alphaUploadTemplateRequest + include Google::Apis::Core::Hashable + + # Required. The textproto of the template. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # Required. File format for upload request. + # Corresponds to the JSON property `fileFormat` + # @return [String] + attr_accessor :file_format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @file_format = args[:file_format] if args.key?(:file_format) + end + end + + # Response for UploadTemplate. + class GoogleCloudIntegrationsV1alphaUploadTemplateResponse + include Google::Apis::Core::Hashable + + # Defines the template for Application Integration + # Corresponds to the JSON property `template` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] + attr_accessor :template + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @template = args[:template] if args.key?(:template) + end + end + + # Request for UploadTestCase. + class GoogleCloudIntegrationsV1alphaUploadTestCaseRequest + include Google::Apis::Core::Hashable + + # The textproto of the test case. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # File format for upload request. + # Corresponds to the JSON property `fileFormat` + # @return [String] + attr_accessor :file_format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @file_format = args[:file_format] if args.key?(:file_format) + end + end + + # Response for UploadTestCase. + class GoogleCloudIntegrationsV1alphaUploadTestCaseResponse + include Google::Apis::Core::Hashable + + # Defines the functional test case for Application Integration. Next available + # id: 15 + # Corresponds to the JSON property `testCase` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] + attr_accessor :test_case + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @test_case = args[:test_case] if args.key?(:test_case) + end + end + + # Request to Use template + class GoogleCloudIntegrationsV1alphaUseTemplateRequest + include Google::Apis::Core::Hashable + + # Sub Integration which would be created via templates. + # Corresponds to the JSON property `integrationDetails` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails] + attr_accessor :integration_details + + # Required. The region of the Integration to be created. + # Corresponds to the JSON property `integrationRegion` + # @return [String] + attr_accessor :integration_region + + # Optional. Sub Integration which would be created via templates. + # Corresponds to the JSON property `subIntegrations` + # @return [Hash] + attr_accessor :sub_integrations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration_details = args[:integration_details] if args.key?(:integration_details) + @integration_region = args[:integration_region] if args.key?(:integration_region) + @sub_integrations = args[:sub_integrations] if args.key?(:sub_integrations) + end + end + + # Sub Integration which would be created via templates. + class GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails + include Google::Apis::Core::Hashable + + # Required. Name of the sub integration which would be created via templates. + # Corresponds to the JSON property `integration` + # @return [String] + attr_accessor :integration + + # Optional. Description of the sub integration which would be created via + # templates. + # Corresponds to the JSON property `integrationDescription` + # @return [String] + attr_accessor :integration_description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration = args[:integration] if args.key?(:integration) + @integration_description = args[:integration_description] if args.key?(:integration_description) + end + end + + # Response for use template + class GoogleCloudIntegrationsV1alphaUseTemplateResponse + include Google::Apis::Core::Hashable + + # The integration version definition. + # Corresponds to the JSON property `integrationVersion` + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + attr_accessor :integration_version + + # Sub integration versions which are created. + # Corresponds to the JSON property `subIntegrationVersions` + # @return [Array] + attr_accessor :sub_integration_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @integration_version = args[:integration_version] if args.key?(:integration_version) + @sub_integration_versions = args[:sub_integration_versions] if args.key?(:sub_integration_versions) + end + end + # Username and password pair. class GoogleCloudIntegrationsV1alphaUsernameAndPassword include Google::Apis::Core::Hashable diff --git a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/gem_version.rb b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/gem_version.rb index 9a9c9219e46..26591f8dd45 100644 --- a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/gem_version.rb +++ b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module IntegrationsV1 # Version of the google-apis-integrations_v1 gem - GEM_VERSION = "0.2.0" + GEM_VERSION = "0.3.0" # Version of the code generator used to generate this client - GENERATOR_VERSION = "0.14.0" + GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240421" + REVISION = "20241209" end end end diff --git a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/representations.rb b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/representations.rb index 7284c616874..f18da6a6d16 100644 --- a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/representations.rb +++ b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/representations.rb @@ -100,6 +100,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class EnterpriseCrmEventbusProtoCloudLoggingDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EnterpriseCrmEventbusProtoCloudSchedulerConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +130,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class EnterpriseCrmEventbusProtoConditionalFailurePolicies + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EnterpriseCrmEventbusProtoConnectorsConnection class Representation < Google::Apis::Core::JsonRepresentation; end @@ -616,6 +628,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot class Representation < Google::Apis::Core::JsonRepresentation; end @@ -718,37 +736,37 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry + class EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnterpriseCrmFrontendsEventbusProtoWorkflowParameters + class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnterpriseCrmLoggingGwsFieldLimits + class EnterpriseCrmFrontendsEventbusProtoWorkflowParameters class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnterpriseCrmLoggingGwsSanitizeOptions + class GoogleCloudConnectorsV1AuthConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudConnectorsV1AuthConfig + class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow + class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -856,6 +874,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudConnectorsV1EventingStatus class Representation < Google::Apis::Core::JsonRepresentation; end @@ -916,6 +940,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaApiTriggerResource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaAssertion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaAssertionResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaAttemptStats class Representation < Google::Apis::Core::JsonRepresentation; end @@ -988,6 +1030,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1060,6 +1108,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaDownloadTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1096,6 +1156,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaExecution class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1108,6 +1180,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaExecutionReplayInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaExecutionSnapshot class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1132,6 +1210,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaGenerateTokenResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1150,6 +1240,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaImportTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaImportTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaIntParameterArray class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1192,6 +1294,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaJwt class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1288,6 +1396,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaListTemplatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaListTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaMockConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaNextTask class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1366,6 +1498,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaReplayExecutionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaReplayExecutionResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1402,6 +1546,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaSerializedFile class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1426,6 +1576,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaShareTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaStringParameterArray class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1486,6 +1642,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaTaskConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1498,6 +1660,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaTemplateBundle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaTemplateComponent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaTestCase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1510,18 +1696,36 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaTestTaskConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaTriggerConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaTriggerConfigVariables + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaUnshareTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1534,6 +1738,48 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudIntegrationsV1alphaUploadTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaUploadTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaUploadTestCaseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaUploadTestCaseResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaUseTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudIntegrationsV1alphaUseTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudIntegrationsV1alphaUsernameAndPassword class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1680,6 +1926,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class EnterpriseCrmEventbusProtoCloudLoggingDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_logging_severity, as: 'cloudLoggingSeverity' + property :enable_cloud_logging, as: 'enableCloudLogging' + end + end + class EnterpriseCrmEventbusProtoCloudSchedulerConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1717,11 +1971,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class EnterpriseCrmEventbusProtoConditionalFailurePolicies + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_failure_policy, as: 'defaultFailurePolicy', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy::Representation + + collection :failure_policies, as: 'failurePolicies', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy::Representation + + end + end + class EnterpriseCrmEventbusProtoConnectorsConnection # @private class Representation < Google::Apis::Core::JsonRepresentation property :connection_name, as: 'connectionName' property :connector_version, as: 'connectorVersion' + property :host, as: 'host' property :service_name, as: 'serviceName' end end @@ -1802,6 +2067,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class EnterpriseCrmEventbusProtoEventExecutionDetails # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cancel_reason, as: 'cancelReason' collection :event_attempt_stats, as: 'eventAttemptStats', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats::Representation collection :event_execution_snapshot, as: 'eventExecutionSnapshot', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionSnapshot, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionSnapshot::Representation @@ -1828,6 +2094,7 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot # @private class Representation < Google::Apis::Core::JsonRepresentation property :checkpoint_task_number, as: 'checkpointTaskNumber' + property :client_id, as: 'clientId' collection :condition_results, as: 'conditionResults', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionResult, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionResult::Representation property :diff_params, as: 'diffParams', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventParameters, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventParameters::Representation @@ -1843,6 +2110,7 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :task_execution_details, as: 'taskExecutionDetails', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskExecutionDetails, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskExecutionDetails::Representation property :task_name, as: 'taskName' + property :workflow_name, as: 'workflowName' end end @@ -1879,9 +2147,11 @@ class Representation < Google::Apis::Core::JsonRepresentation class EnterpriseCrmEventbusProtoExternalTraffic # @private class Representation < Google::Apis::Core::JsonRepresentation + property :enable_internal_ip, as: 'enableInternalIp' property :gcp_project_id, as: 'gcpProjectId' property :gcp_project_number, as: 'gcpProjectNumber' property :location, as: 'location' + property :retry_request_for_quota, as: 'retryRequestForQuota' property :source, as: 'source' end end @@ -1891,6 +2161,7 @@ class EnterpriseCrmEventbusProtoFailurePolicy class Representation < Google::Apis::Core::JsonRepresentation property :interval_in_seconds, :numeric_string => true, as: 'intervalInSeconds' property :max_num_retries, as: 'maxNumRetries' + property :retry_condition, as: 'retryCondition' property :retry_strategy, as: 'retryStrategy' end end @@ -1996,12 +2267,8 @@ class EnterpriseCrmEventbusProtoLogSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :log_field_name, as: 'logFieldName' - property :sanitize_options, as: 'sanitizeOptions', class: Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsSanitizeOptions, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsSanitizeOptions::Representation - property :seed_period, as: 'seedPeriod' property :seed_scope, as: 'seedScope' - property :shortening_limits, as: 'shorteningLimits', class: Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsFieldLimits, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsFieldLimits::Representation - end end @@ -2576,6 +2843,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cancel_reason, as: 'cancelReason' collection :event_attempt_stats, as: 'eventAttemptStats', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats::Representation collection :event_execution_snapshot, as: 'eventExecutionSnapshot', class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot::Representation @@ -2594,6 +2862,8 @@ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :client_id, as: 'clientId' + property :cloud_logging_details, as: 'cloudLoggingDetails', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudLoggingDetails, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudLoggingDetails::Representation + property :create_time, :numeric_string => true, as: 'createTime' property :error_code, as: 'errorCode', class: Google::Apis::IntegrationsV1::CrmlogErrorCode, decorator: Google::Apis::IntegrationsV1::CrmlogErrorCode::Representation @@ -2604,9 +2874,12 @@ class Representation < Google::Apis::Core::JsonRepresentation property :event_execution_info_id, as: 'eventExecutionInfoId' property :execution_trace_info, as: 'executionTraceInfo', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExecutionTraceInfo, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExecutionTraceInfo::Representation + property :integration_version_user_label, as: 'integrationVersionUserLabel' property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :post_method, as: 'postMethod' property :product, as: 'product' + property :replay_info, as: 'replayInfo', class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo::Representation + property :request_id, as: 'requestId' property :request_params, as: 'requestParams', class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventParameters, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventParameters::Representation @@ -2621,6 +2894,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :original_execution_info_id, as: 'originalExecutionInfoId' + property :replay_mode, as: 'replayMode' + property :replay_reason, as: 'replayReason' + collection :replayed_execution_info_ids, as: 'replayedExecutionInfoIds' + end + end + class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2787,6 +3070,8 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig class Representation < Google::Apis::Core::JsonRepresentation collection :alert_configs, as: 'alertConfigs', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskAlertConfig, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskAlertConfig::Representation + property :conditional_failure_policies, as: 'conditionalFailurePolicies', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionalFailurePolicies, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionalFailurePolicies::Representation + property :create_time, as: 'createTime' property :creator_email, as: 'creatorEmail' property :description, as: 'description' @@ -2851,8 +3136,12 @@ class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' collection :enabled_clients, as: 'enabledClients' property :error_catcher_id, as: 'errorCatcherId' + property :input_variables, as: 'inputVariables', class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables::Representation + property :label, as: 'label' property :next_tasks_execution_policy, as: 'nextTasksExecutionPolicy' + property :output_variables, as: 'outputVariables', class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables::Representation + property :pause_workflow_executions, as: 'pauseWorkflowExecutions' property :position, as: 'position', class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCoordinate, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCoordinate::Representation @@ -2868,6 +3157,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :names, as: 'names' + end + end + class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2902,36 +3198,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class EnterpriseCrmLoggingGwsFieldLimits - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_action, as: 'logAction' - collection :log_type, as: 'logType' - property :max_array_size, as: 'maxArraySize' - property :max_string_length, as: 'maxStringLength' - property :shortener_type, as: 'shortenerType' - end - end - - class EnterpriseCrmLoggingGwsSanitizeOptions + class GoogleCloudConnectorsV1AuthConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :is_already_sanitized, as: 'isAlreadySanitized' - collection :log_type, as: 'logType' - property :privacy, as: 'privacy' - property :sanitize_type, as: 'sanitizeType' - end - end - - class GoogleCloudConnectorsV1AuthConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :additional_variables, as: 'additionalVariables', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable::Representation + collection :additional_variables, as: 'additionalVariables', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable::Representation property :auth_key, as: 'authKey' property :auth_type, as: 'authType' property :oauth2_auth_code_flow, as: 'oauth2AuthCodeFlow', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow::Representation + property :oauth2_auth_code_flow_google_managed, as: 'oauth2AuthCodeFlowGoogleManaged', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged::Representation + property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials::Representation property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer::Representation @@ -2958,6 +3235,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auth_code, as: 'authCode' + property :redirect_uri, as: 'redirectUri' + collection :scopes, as: 'scopes' + end + end + class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3031,8 +3317,10 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudConnectorsV1Connection # @private class Representation < Google::Apis::Core::JsonRepresentation + property :async_operations_enabled, as: 'asyncOperationsEnabled' property :auth_config, as: 'authConfig', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig::Representation + property :auth_override_enabled, as: 'authOverrideEnabled' property :billing_config, as: 'billingConfig', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1BillingConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1BillingConfig::Representation collection :config_variables, as: 'configVariables', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable::Representation @@ -3052,6 +3340,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :eventing_enablement_type, as: 'eventingEnablementType' property :eventing_runtime_data, as: 'eventingRuntimeData', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeData, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeData::Representation + property :host, as: 'host' property :image_location, as: 'imageLocation' property :is_trusted_tester, as: 'isTrustedTester' hash :labels, as: 'labels' @@ -3070,6 +3359,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :subscription_type, as: 'subscriptionType' property :suspended, as: 'suspended' + property :tls_service_directory, as: 'tlsServiceDirectory' property :update_time, as: 'updateTime' end end @@ -3088,15 +3378,18 @@ class GoogleCloudConnectorsV1ConnectorVersionInfraConfig class Representation < Google::Apis::Core::JsonRepresentation property :connection_ratelimit_window_seconds, :numeric_string => true, as: 'connectionRatelimitWindowSeconds' property :deployment_model, as: 'deploymentModel' + property :deployment_model_migration_state, as: 'deploymentModelMigrationState' property :hpa_config, as: 'hpaConfig', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1HpaConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1HpaConfig::Representation property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold' + property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency' property :ratelimit_threshold, :numeric_string => true, as: 'ratelimitThreshold' property :resource_limits, as: 'resourceLimits', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceLimits, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceLimits::Representation property :resource_requests, as: 'resourceRequests', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceRequests, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceRequests::Representation property :shared_deployment, as: 'sharedDeployment' + property :tls_migration_state, as: 'tlsMigrationState' end end @@ -3164,6 +3457,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :webhook_data, as: 'webhookData', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData::Representation + property :webhook_subscriptions, as: 'webhookSubscriptions', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions::Representation + end end @@ -3180,6 +3475,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :webhook_data, as: 'webhookData', class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData, decorator: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData::Representation + + end + end + class GoogleCloudConnectorsV1EventingStatus # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3208,6 +3511,7 @@ class GoogleCloudConnectorsV1LogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :enabled, as: 'enabled' + property :level, as: 'level' end end @@ -3274,6 +3578,37 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaApiTriggerResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration_resource, as: 'integrationResource' + collection :trigger_id, as: 'triggerId' + end + end + + class GoogleCloudIntegrationsV1alphaAssertion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :assertion_strategy, as: 'assertionStrategy' + property :condition, as: 'condition' + property :parameter, as: 'parameter', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter::Representation + + property :retry_count, as: 'retryCount' + end + end + + class GoogleCloudIntegrationsV1alphaAssertionResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :assertion, as: 'assertion', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion::Representation + + property :failure_message, as: 'failureMessage' + property :status, as: 'status' + property :task_name, as: 'taskName' + property :task_number, as: 'taskNumber' + end + end + class GoogleCloudIntegrationsV1alphaAttemptStats # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3324,6 +3659,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudIntegrationsV1alphaCancelExecutionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cancel_reason, as: 'cancelReason' end end @@ -3368,6 +3704,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' + property :enable_internal_ip, as: 'enableInternalIp' property :enable_variable_masking, as: 'enableVariableMasking' property :id, as: 'id' property :is_gmek, as: 'isGmek' @@ -3407,6 +3744,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_failure_policy, as: 'defaultFailurePolicy', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy::Representation + + collection :failure_policies, as: 'failurePolicies', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy::Representation + + end + end + class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3514,6 +3861,20 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaDownloadTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + end + end + + class GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + end + end + class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3581,6 +3942,25 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :input_parameters, as: 'inputParameters', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :assertion_results, as: 'assertionResults', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertionResult, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertionResult::Representation + + property :execution_id, as: 'executionId' + hash :output_parameters, as: 'outputParameters' + property :test_execution_state, as: 'testExecutionState' + end + end + class GoogleCloudIntegrationsV1alphaExecution # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3596,6 +3976,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :execution_method, as: 'executionMethod' property :integration_version_state, as: 'integrationVersionState' property :name, as: 'name' + property :replay_info, as: 'replayInfo', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionReplayInfo, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionReplayInfo::Representation + hash :request_parameters, as: 'requestParameters', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType::Representation collection :request_params, as: 'requestParams', class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry, decorator: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry::Representation @@ -3622,6 +4004,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaExecutionReplayInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :original_execution_info_id, as: 'originalExecutionInfoId' + property :replay_mode, as: 'replayMode' + property :replay_reason, as: 'replayReason' + collection :replayed_execution_info_ids, as: 'replayedExecutionInfoIds' + end + end + class GoogleCloudIntegrationsV1alphaExecutionSnapshot # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3652,6 +4044,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudIntegrationsV1alphaFailurePolicy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition' property :interval_time, as: 'intervalTime' property :max_retries, as: 'maxRetries' property :retry_strategy, as: 'retryStrategy' @@ -3668,6 +4061,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :api_trigger_resources, as: 'apiTriggerResources', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource::Representation + + property :file_format, as: 'fileFormat' + end + end + + class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :open_api_spec, as: 'openApiSpec' + end + end + class GoogleCloudIntegrationsV1alphaGenerateTokenResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3691,6 +4100,26 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaImportTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration, as: 'integration' + property :integration_region, as: 'integrationRegion' + hash :sub_integrations, as: 'subIntegrations', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaImportTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration_version, as: 'integrationVersion', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + + collection :sub_integration_versions, as: 'subIntegrationVersions', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + + end + end + class GoogleCloudIntegrationsV1alphaIntParameterArray # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3752,6 +4181,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :data_type, as: 'dataType' property :default_value, as: 'defaultValue', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType::Representation + property :description, as: 'description' property :display_name, as: 'displayName' property :input_output_type, as: 'inputOutputType' property :is_transient, as: 'isTransient' @@ -3805,6 +4235,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration_version, as: 'integrationVersion', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + + property :key, as: 'key' + end + end + class GoogleCloudIntegrationsV1alphaJwt # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3945,6 +4384,43 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaListTemplatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :templates, as: 'templates', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :executions, as: 'executions', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudIntegrationsV1alphaListTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :test_cases, as: 'testCases', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaMockConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :failed_executions, :numeric_string => true, as: 'failedExecutions' + property :mock_strategy, as: 'mockStrategy' + collection :parameters, as: 'parameters', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter::Representation + + end + end + class GoogleCloudIntegrationsV1alphaNextTask # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4088,6 +4564,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaReplayExecutionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :replay_reason, as: 'replayReason' + end + end + + class GoogleCloudIntegrationsV1alphaReplayExecutionResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :execution_id, as: 'executionId' + hash :output_parameters, as: 'outputParameters' + property :replayed_execution_id, as: 'replayedExecutionId' + end + end + class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4143,6 +4635,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :templates, as: 'templates', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + + end + end + class GoogleCloudIntegrationsV1alphaSerializedFile # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4189,6 +4690,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaShareTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :resource_names, as: 'resourceNames' + end + end + class GoogleCloudIntegrationsV1alphaStringParameterArray # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4278,9 +4786,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudIntegrationsV1alphaTaskConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :conditional_failure_policies, as: 'conditionalFailurePolicies', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConditionalFailurePolicies, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConditionalFailurePolicies::Representation + property :description, as: 'description' property :display_name, as: 'displayName' property :error_catcher_id, as: 'errorCatcherId' @@ -4316,6 +4832,70 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaTemplate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :author, as: 'author' + collection :categories, as: 'categories' + collection :components, as: 'components', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent::Representation + + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :doc_link, as: 'docLink' + property :last_used_time, as: 'lastUsedTime' + property :name, as: 'name' + collection :shared_with, as: 'sharedWith' + collection :tags, as: 'tags' + property :template_bundle, as: 'templateBundle', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle::Representation + + property :update_time, as: 'updateTime' + property :usage_count, :numeric_string => true, as: 'usageCount' + property :usage_info, as: 'usageInfo' + property :visibility, as: 'visibility' + end + end + + class GoogleCloudIntegrationsV1alphaTemplateBundle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration_version_template, as: 'integrationVersionTemplate', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate::Representation + + collection :sub_integration_version_templates, as: 'subIntegrationVersionTemplates', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaTemplateComponent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :type, as: 'type' + end + end + + class GoogleCloudIntegrationsV1alphaTestCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :creator_email, as: 'creatorEmail' + property :database_persistence_policy, as: 'databasePersistencePolicy' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :last_modifier_email, as: 'lastModifierEmail' + property :lock_holder_email, as: 'lockHolderEmail' + property :name, as: 'name' + collection :test_input_parameters, as: 'testInputParameters', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationParameter, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationParameter::Representation + + collection :test_task_configs, as: 'testTaskConfigs', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestTaskConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestTaskConfig::Representation + + property :trigger_config, as: 'triggerConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig::Representation + + property :trigger_id, as: 'triggerId' + property :update_time, as: 'updateTime' + end + end + class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4347,6 +4927,20 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaTestTaskConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :assertions, as: 'assertions', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion::Representation + + property :mock_config, as: 'mockConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaMockConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaMockConfig::Representation + + property :task, as: 'task' + property :task_config, as: 'taskConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTaskConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTaskConfig::Representation + + property :task_number, as: 'taskNumber' + end + end + class GoogleCloudIntegrationsV1alphaTriggerConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4356,8 +4950,12 @@ class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :error_catcher_id, as: 'errorCatcherId' + property :input_variables, as: 'inputVariables', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables::Representation + property :label, as: 'label' property :next_tasks_execution_policy, as: 'nextTasksExecutionPolicy' + property :output_variables, as: 'outputVariables', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables::Representation + property :position, as: 'position', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate::Representation hash :properties, as: 'properties' @@ -4370,12 +4968,26 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaTriggerConfigVariables + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :names, as: 'names' + end + end + class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaUnshareTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :resource_names, as: 'resourceNames' + end + end + class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4392,6 +5004,67 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudIntegrationsV1alphaUploadTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + property :file_format, as: 'fileFormat' + end + end + + class GoogleCloudIntegrationsV1alphaUploadTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :template, as: 'template', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaUploadTestCaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + property :file_format, as: 'fileFormat' + end + end + + class GoogleCloudIntegrationsV1alphaUploadTestCaseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :test_case, as: 'testCase', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaUseTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration_details, as: 'integrationDetails', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails::Representation + + property :integration_region, as: 'integrationRegion' + hash :sub_integrations, as: 'subIntegrations', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails::Representation + + end + end + + class GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration, as: 'integration' + property :integration_description, as: 'integrationDescription' + end + end + + class GoogleCloudIntegrationsV1alphaUseTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :integration_version, as: 'integrationVersion', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + + collection :sub_integration_versions, as: 'subIntegrationVersions', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + + end + end + class GoogleCloudIntegrationsV1alphaUsernameAndPassword # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/service.rb b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/service.rb index 17de5d20527..efd66c152f0 100644 --- a/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/service.rb +++ b/generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/service.rb @@ -152,6 +152,40 @@ def get_project_clientmetadata(parent, fields: nil, quota_user: nil, options: ni execute_or_queue_command(command, &block) end + # Generate OpenAPI spec for the requested integrations and api triggers + # @param [String] name + # Required. Project and location from which the integrations should be fetched. + # Format: projects/`project`/location/`location` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest] google_cloud_integrations_v1alpha_generate_open_api_spec_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1/{+name}:generateOpenApiSpec', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_generate_open_api_spec_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets the client configuration for the given project and location resource name # @param [String] parent # Required. Required: The ID of the GCP Project to be provisioned. @@ -1122,7 +1156,6 @@ def execute_project_location_integration(name, google_cloud_integrations_v1alpha # @param [String] name # Required. The integration resource name. Format: projects/`gcp_project_id`/ # locations/`location`/integrations/`integration_id` - # @param [Hash] google_protobuf_struct_object # @param [String] trigger_id # Required. Id of the integration trigger config. The trigger_id is in the # format: `integration_connector_trigger/projects/`gcp_project_id`/location/` @@ -1144,10 +1177,8 @@ def execute_project_location_integration(name, google_cloud_integrations_v1alpha # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def execute_project_location_integration_event(name, google_protobuf_struct_object = nil, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def execute_project_location_integration_event(name, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:executeEvent', options) - command.request_representation = Hash::Representation - command.request_object = google_protobuf_struct_object command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteEventResponse command.params['name'] = name unless name.nil? @@ -1275,6 +1306,42 @@ def test_project_location_integration(name, google_cloud_integrations_v1alpha_te execute_or_queue_command(command, &block) end + # Cancellation of an execution and associated sub-executions. This will not + # cancel an IN_PROCESS or completed(SUCCESSFUL, FAILED or CANCELLED) executions. + # @param [String] name + # Required. The execution resource name. Format: projects/`gcp_project_id`/ + # locations/`location`/products/`product`/integrations/`integration_id`/ + # executions/`execution_id` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest] google_cloud_integrations_v1alpha_cancel_execution_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_project_location_integration_execution(name, google_cloud_integrations_v1alpha_cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Download the execution. # @param [String] name # Required. The execution resource name. Format: projects/`gcp_project_id`/ @@ -1380,15 +1447,19 @@ def get_project_location_integration_execution(name, fields: nil, quota_user: ni # Workflow name. # @param [String] order_by # Optional. The results would be returned in order you specified here. Currently - # supporting "last_modified_time" and "create_time". + # supporting "create_time". # @param [Fixnum] page_size # Optional. The size of entries in the response. # @param [String] page_token # Optional. The token returned in the previous response. # @param [String] read_mask # Optional. View mask for the response data. If set, only the field specified - # will be returned as part of the result. If not set, all fields in event - # execution info will be filled and returned. + # will be returned as part of the result. If not set, all fields in Execution + # will be filled and returned. Supported fields: trigger_id execution_method + # create_time update_time execution_details execution_details.state + # execution_details.execution_snapshots execution_details.attempt_stats + # execution_details.event_execution_snapshots_size request_parameters + # cloud_logging_details snapshot_number replay_info # @param [Boolean] refresh_acl # Optional. If true, the service will use the most recent acl information to # list event execution infos and renew the acl cache. Note that fetching the @@ -1448,6 +1519,42 @@ def list_project_location_integration_executions(parent, filter: nil, filter_par execute_or_queue_command(command, &block) end + # Re-execute an existing execution, with same request parameters and execution + # strategy. + # @param [String] name + # Required. Next ID: 6 The execution resource name. Format: projects/` + # gcp_project_id`/locations/`location`/integrations/`integration`/executions/` + # execution_id` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest] google_cloud_integrations_v1alpha_replay_execution_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def replay_project_location_integration_execution(name, google_cloud_integrations_v1alpha_replay_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:replay', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_replay_execution_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaReplayExecutionResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # * Lifts suspension for the Suspension task. Fetch corresponding suspension # with provided suspension Id, resolve suspension, and set up suspension result # for the Suspension Task. @@ -1762,8 +1869,7 @@ def get_project_location_integration_version(name, fields: nil, quota_user: nil, # Specifically, when parent equals: 1. projects//locations//integrations/, # Meaning: "List versions (with filter) for a particular integration". 2. # projects//locations//integrations/- Meaning: "List versions (with filter) for - # a client within a particular region". 3. projects//locations/-/integrations/- - # Meaning: "List versions (with filter) for a client". + # a client within a particular region". # @param [String] field_mask # The field mask which specifies the particular data to be returned. # @param [String] filter @@ -1776,8 +1882,8 @@ def get_project_location_integration_version(name, fields: nil, quota_user: nil, # fields like `task_config`. # @param [String] order_by # The results would be returned in order you specified here. Currently supported - # sort keys are: Descending sort order for "last_modified_time", "created_time", - # "snapshot_number" Ascending sort order for "name". + # sort keys are: Descending sort order for "last\_modified\_time", "created\ + # _time", and "snapshot\_number". Ascending sort order for `name`. # @param [Fixnum] page_size # The maximum number of versions to return. The service may return fewer than # this value. If unspecified, at most 50 versions will be returned. The maximum @@ -1969,49 +2075,14 @@ def upload_project_location_integration_version(parent, google_cloud_integration execute_or_queue_command(command, &block) end - # Creates an auth config record. Fetch corresponding credentials for specific - # auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the - # auth config with Cloud KMS and store the encrypted credentials in Spanner. - # Returns the encrypted auth config. + # Creates a new test case # @param [String] parent - # Required. "projects/`project`/locations/`location`" format. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object - # @param [String] client_certificate_encrypted_private_key - # The ssl certificate encoded in PEM format. This string must include the begin - # header and end footer lines. For example, -----BEGIN CERTIFICATE----- - # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV - # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw - # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET - # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA - # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ - # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB - # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ - # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB - # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey - # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW - # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr - # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H - # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- - # @param [String] client_certificate_passphrase - # 'passphrase' should be left unset if private key is not encrypted. Note that ' - # passphrase' is not the password for web server, but an extra layer of security - # to protected private key. - # @param [String] client_certificate_ssl_certificate - # The ssl certificate encoded in PEM format. This string must include the begin - # header and end footer lines. For example, -----BEGIN CERTIFICATE----- - # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV - # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw - # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET - # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA - # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ - # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB - # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ - # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB - # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey - # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW - # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr - # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H - # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- + # Required. The parent resource where this test case will be created. Format: + # projects/`project`/locations/`location`/integrations/`integration`/versions/` + # integration_version` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] google_cloud_integrations_v1alpha_test_case_object + # @param [String] test_case_id + # Required. Required # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2021,32 +2092,30 @@ def upload_project_location_integration_version(parent, google_cloud_integration # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_product_auth_config(parent, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/authConfigs', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation - command.request_object = google_cloud_integrations_v1alpha_auth_config_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig + 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) + command = make_simple_command(:post, 'v1/{+parent}/testCases', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + command.request_object = google_cloud_integrations_v1alpha_test_case_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase command.params['parent'] = parent unless parent.nil? - command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil? - command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil? - command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil? + command.query['testCaseId'] = test_case_id unless test_case_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes an auth config. + # Deletes a test case # @param [String] name - # Required. The name that is associated with the AuthConfig. + # Required. ID for the test case to be deleted # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2064,7 +2133,7 @@ def create_project_location_product_auth_config(parent, google_cloud_integration # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty @@ -2074,10 +2143,14 @@ def delete_project_location_product_auth_config(name, fields: nil, quota_user: n execute_or_queue_command(command, &block) end - # Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND - # exception will be thrown. Returns the decrypted auth config. + # Downloads a test case. Retrieves the `TestCase` for a given `test_case_id` and + # returns the response as a string. # @param [String] name - # Required. The name that is associated with the AuthConfig. + # Required. The test case to download. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`integration_version`/testCases/` + # test_case_id` + # @param [String] file_format + # File format for download request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2087,38 +2160,29 @@ def delete_project_location_product_auth_config(name, fields: nil, quota_user: n # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig + def download_project_location_integration_version_test_case(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:download', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse command.params['name'] = name unless name.nil? + command.query['fileFormat'] = file_format unless file_format.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists all auth configs that match the filter. Restrict to auth configs belong - # to the current client only. - # @param [String] parent - # Required. The client, which owns this collection of AuthConfigs. - # @param [String] filter - # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ - # guides/list-filters. - # @param [Fixnum] page_size - # The size of entries in the response. If unspecified, defaults to 100. - # @param [String] page_token - # The token returned in the previous response. - # @param [String] read_mask - # The mask which specifies fields that need to be returned in the AuthConfig's - # response. + # Executes functional test + # @param [String] test_case_name + # Required. Test case resource name + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest] google_cloud_integrations_v1alpha_execute_test_case_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2128,76 +2192,29 @@ def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_product_auth_configs(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/authConfigs', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse - command.params['parent'] = parent unless parent.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['readMask'] = read_mask unless read_mask.nil? + 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) + command = make_simple_command(:post, 'v1/{+testCaseName}:executeTest', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_execute_test_case_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse + command.params['testCaseName'] = test_case_name unless test_case_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates an auth config. If credential is updated, fetch the encrypted auth - # config from Spanner, decrypt with Cloud KMS key, update the credential fields, - # re-encrypt with Cloud KMS key and update the Spanner record. For other fields, - # directly update the Spanner record. Returns the encrypted auth config. + # Get a test case # @param [String] name - # Resource name of the auth config. For more information, see Manage - # authentication profiles. projects/`project`/locations/`location`/authConfigs/` - # authConfig`. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object - # @param [String] client_certificate_encrypted_private_key - # The ssl certificate encoded in PEM format. This string must include the begin - # header and end footer lines. For example, -----BEGIN CERTIFICATE----- - # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV - # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw - # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET - # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA - # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ - # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB - # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ - # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB - # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey - # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW - # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr - # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H - # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- - # @param [String] client_certificate_passphrase - # 'passphrase' should be left unset if private key is not encrypted. Note that ' - # passphrase' is not the password for web server, but an extra layer of security - # to protected private key. - # @param [String] client_certificate_ssl_certificate - # The ssl certificate encoded in PEM format. This string must include the begin - # header and end footer lines. For example, -----BEGIN CERTIFICATE----- - # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV - # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw - # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET - # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA - # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ - # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB - # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ - # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB - # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey - # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW - # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr - # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H - # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- - # @param [String] update_mask - # Field mask specifying the fields in the above AuthConfig that have been - # modified and need to be updated. + # Required. The ID of the test case to retrieve # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2207,36 +2224,44 @@ def list_project_location_product_auth_configs(parent, filter: nil, page_size: n # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_project_location_product_auth_config(name, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/{+name}', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation - command.request_object = google_cloud_integrations_v1alpha_auth_config_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig + def get_project_location_integration_version_test_case(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase command.params['name'] = name unless name.nil? - command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil? - command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil? - command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates a new certificate. The certificate will be registered to the trawler - # service and will be encrypted using cloud KMS and stored in Spanner Returns - # the certificate. + # Lists all the test cases that satisfy the filters. # @param [String] parent - # Required. "projects/`project`/locations/`location`" format. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object + # Required. The parent resource where this TestCase was created. + # @param [String] filter + # Optional. Standard filter field. Filtering as supported in https://developers. + # google.com/authorized-buyers/apis/guides/list-filters. + # @param [String] order_by + # Optional. The results would be returned in order specified here. Currently + # supported sort keys are: Descending sort order for "last_modified_time", " + # created_time". Ascending sort order for "name". + # @param [Fixnum] page_size + # Optional. The maximum number of test cases to return. The service may return + # fewer than this value. If unspecified, at most 100 test cases will be returned. + # @param [String] page_token + # Optional. A page token, received from a previous `ListTestCases` call. Provide + # this to retrieve the subsequent page. When paginating, all other parameters + # provided to `ListTestCases` must match the call that provided the page token. + # @param [String] read_mask + # Optional. The mask which specifies fields that need to be returned in the + # TestCases's response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2246,101 +2271,60 @@ def patch_project_location_product_auth_config(name, google_cloud_integrations_v # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_product_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/certificates', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation - command.request_object = google_cloud_integrations_v1alpha_certificate_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate + 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) + command = make_simple_command(:get, 'v1/{+parent}/testCases', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCasesResponse command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Delete a certificate - # @param [String] name - # Required. The name that is associated with the Certificate. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Get a certificates in the specified project. - # @param [String] name - # Required. The certificate to retrieve. Format: projects/`project`/locations/` - # location`/certificates/`certificate` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # List all the certificates that match the filter. Restrict to certificate of - # current client only. + # Lists the results of all functional test executions. The response includes the + # same information as the [execution log](https://cloud.google.com/application- + # integration/docs/viewing-logs) in the Integration UI. # @param [String] parent - # Required. The client, which owns this collection of Certificates. + # Required. The parent resource name of the test case execution. # @param [String] filter - # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ - # guides/list-filters. + # Optional. Standard filter field, we support filtering on following fields: + # test_case_id: the ID of the test case. CreateTimestamp: the execution created + # time. event_execution_state: the state of the executions. execution_id: the id + # of the execution. trigger_id: the id of the trigger. parameter_type: the type + # of the parameters involved in the execution. All fields support for EQUALS, in + # additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType + # support for HAS For example: "parameter_type" HAS \"string\" Also supports + # operators like AND, OR, NOT For example, trigger_id=\"id1\" AND test_case_id=\" + # testCaseId\" + # @param [String] order_by + # Optional. The results would be returned in order you specified here. Currently + # supporting "last_modified_time" and "create_time". # @param [Fixnum] page_size - # The size of entries in the response. If unspecified, defaults to 100. + # Optional. The size of entries in the response. # @param [String] page_token - # The token returned in the previous response. + # Optional. The token returned in the previous response. # @param [String] read_mask - # The mask which specifies fields that need to be returned in the Certificate's - # response. + # Optional. View mask for the response data. If set, only the field specified + # will be returned as part of the result. If not set, all fields in event + # execution info will be filled and returned. + # @param [Boolean] truncate_params + # Optional. If true, the service will truncate the params to only keep the first + # 1000 characters of string params and empty the executions in order to make + # response smaller. Only works for UI and when the params fields are not + # filtered out. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2350,38 +2334,37 @@ def get_project_location_product_certificate(name, fields: nil, quota_user: nil, # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_product_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/certificates', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse + 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) + command = make_simple_command(:get, 'v1/{+parent}:executions', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['readMask'] = read_mask unless read_mask.nil? + command.query['truncateParams'] = truncate_params unless truncate_params.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates the certificate by id. If new certificate file is updated, it will - # register with the trawler service, re-encrypt with cloud KMS and update the - # Spanner record. Other fields will directly update the Spanner record. Returns - # the Certificate. + # Updates a test case # @param [String] name - # Output only. Auto generated primary key - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object + # Output only. Auto-generated primary key. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] google_cloud_integrations_v1alpha_test_case_object # @param [String] update_mask - # Field mask specifying the fields in the above Certificate that have been - # modified and need to be updated. + # Optional. Field mask specifying the fields in the above integration that have + # been modified and need to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2391,20 +2374,20 @@ def list_project_location_product_certificates(parent, filter: nil, page_size: n # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + 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) command = make_simple_command(:patch, 'v1/{+name}', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation - command.request_object = google_cloud_integrations_v1alpha_certificate_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + command.request_object = google_cloud_integrations_v1alpha_test_case_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? @@ -2412,10 +2395,12 @@ def patch_project_location_product_certificate(name, google_cloud_integrations_v execute_or_queue_command(command, &block) end - # Creates a cloud function project. - # @param [String] parent - # Required. The project that the executed integration belongs to. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest] google_cloud_integrations_v1alpha_create_cloud_function_request_object + # Clear the lock fields and assign them to current user + # @param [String] name + # Required. The ID of test case to takeover edit lock. Format: projects/`project` + # /locations/`location`/integrations/`integration`/versions/`integration_version` + # /testCases/`test_case_id` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest] google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2425,35 +2410,33 @@ def patch_project_location_product_certificate(name, google_cloud_integrations_v # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) - command = make_simple_command(:post, 'v1/{+parent}/cloudFunctions', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_create_cloud_function_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse - command.params['parent'] = parent unless parent.nil? + 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) + command = make_simple_command(:post, 'v1/{+name}:takeoverEditLock', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_takeover_test_case_edit_lock_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Executes integrations synchronously by passing the trigger id in the request - # body. The request is not returned until the requested executions are either - # fulfilled or experienced an error. If the integration name is not specified ( - # passing `-`), all of the associated integration under the given trigger_id - # will be executed. Otherwise only the specified integration for the given ` - # trigger_id` is executed. This is helpful for execution the integration from UI. - # @param [String] name - # Required. The integration resource name. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest] google_cloud_integrations_v1alpha_execute_integrations_request_object + # Uploads a test case. The content can be a previously downloaded test case. + # Performs the same function as CreateTestCase, but accepts input in a string + # format, which holds the complete representation of the TestCase content. + # @param [String] parent + # Required. The test case to upload. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`integration_version` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest] google_cloud_integrations_v1alpha_upload_test_case_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2463,46 +2446,69 @@ def create_project_location_product_cloud_function(parent, google_cloud_integrat # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def execute_project_location_product_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:execute', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse - command.params['name'] = name unless name.nil? + 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) + command = make_simple_command(:post, 'v1/{+parent}/testCases:upload', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_upload_test_case_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseResponse + command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns the list of all integrations in the specified project. + # Creates an auth config record. Fetch corresponding credentials for specific + # auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the + # auth config with Cloud KMS and store the encrypted credentials in Spanner. + # Returns the encrypted auth config. # @param [String] parent - # Required. Project and location from which the integrations should be listed. - # Format: projects/`project` - # @param [String] filter - # Filter on fields of IntegrationVersion. Fields can be compared with literal - # values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less - # than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( - # inequality) operators. Negation, conjunction, and disjunction are written - # using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= - # ACTIVE AND description:"test". Filtering cannot be performed on repeated - # fields like `task_config`. - # @param [String] order_by - # The results would be returned in order you specified here. Supported sort keys - # are: Descending sort order by "last_modified_time", "created_time", " - # snapshot_number". Ascending sort order by the integration name. - # @param [Fixnum] page_size - # The page size for the resquest. - # @param [String] page_token - # The page token for the resquest. + # Required. "projects/`project`/locations/`location`" format. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object + # @param [String] client_certificate_encrypted_private_key + # The ssl certificate encoded in PEM format. This string must include the begin + # header and end footer lines. For example, -----BEGIN CERTIFICATE----- + # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV + # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw + # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET + # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA + # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ + # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB + # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ + # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB + # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey + # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW + # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr + # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H + # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- + # @param [String] client_certificate_passphrase + # 'passphrase' should be left unset if private key is not encrypted. Note that ' + # passphrase' is not the password for web server, but an extra layer of security + # to protected private key. + # @param [String] client_certificate_ssl_certificate + # The ssl certificate encoded in PEM format. This string must include the begin + # header and end footer lines. For example, -----BEGIN CERTIFICATE----- + # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV + # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw + # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET + # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA + # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ + # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB + # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ + # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB + # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey + # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW + # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr + # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H + # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2512,33 +2518,32 @@ def execute_project_location_product_integration(name, google_cloud_integrations # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_product_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/integrations', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse + def create_project_location_product_auth_config(parent, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/authConfigs', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation + command.request_object = google_cloud_integrations_v1alpha_auth_config_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig command.params['parent'] = parent unless parent.nil? - command.query['filter'] = filter unless filter.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? + command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil? + command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil? + command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Schedules an integration for execution by passing the trigger id and the - # scheduled time in the request body. + # Deletes an auth config. # @param [String] name - # The integration resource name. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest] google_cloud_integrations_v1alpha_schedule_integrations_request_object + # Required. The name that is associated with the AuthConfig. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2548,30 +2553,28 @@ def list_project_location_product_integrations(parent, filter: nil, order_by: ni # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def schedule_project_location_product_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:schedule', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse + def delete_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Execute the integration in draft state + # Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND + # exception will be thrown. Returns the decrypted auth config. # @param [String] name - # Output only. Auto-generated primary key. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest] google_cloud_integrations_v1alpha_test_integrations_request_object + # Required. The name that is associated with the AuthConfig. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2581,32 +2584,870 @@ def schedule_project_location_product_integration(name, google_cloud_integration # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_product_auth_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all auth configs that match the filter. Restrict to auth configs belong + # to the current client only. + # @param [String] parent + # Required. The client, which owns this collection of AuthConfigs. + # @param [String] filter + # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ + # guides/list-filters. + # @param [Fixnum] page_size + # The size of entries in the response. If unspecified, defaults to 100. + # @param [String] page_token + # The token returned in the previous response. + # @param [String] read_mask + # The mask which specifies fields that need to be returned in the AuthConfig's + # response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_product_auth_configs(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/authConfigs', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListAuthConfigsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an auth config. If credential is updated, fetch the encrypted auth + # config from Spanner, decrypt with Cloud KMS key, update the credential fields, + # re-encrypt with Cloud KMS key and update the Spanner record. For other fields, + # directly update the Spanner record. Returns the encrypted auth config. + # @param [String] name + # Resource name of the auth config. For more information, see Manage + # authentication profiles. projects/`project`/locations/`location`/authConfigs/` + # authConfig`. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] google_cloud_integrations_v1alpha_auth_config_object + # @param [String] client_certificate_encrypted_private_key + # The ssl certificate encoded in PEM format. This string must include the begin + # header and end footer lines. For example, -----BEGIN CERTIFICATE----- + # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV + # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw + # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET + # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA + # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ + # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB + # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ + # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB + # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey + # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW + # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr + # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H + # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- + # @param [String] client_certificate_passphrase + # 'passphrase' should be left unset if private key is not encrypted. Note that ' + # passphrase' is not the password for web server, but an extra layer of security + # to protected private key. + # @param [String] client_certificate_ssl_certificate + # The ssl certificate encoded in PEM format. This string must include the begin + # header and end footer lines. For example, -----BEGIN CERTIFICATE----- + # MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV + # BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw + # MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET + # MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA + # vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/ + # sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB + # xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/ + # BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB + # Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey + # Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW + # JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr + # 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H + # wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- + # @param [String] update_mask + # Field mask specifying the fields in the above AuthConfig that have been + # modified and need to be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_product_auth_config(name, google_cloud_integrations_v1alpha_auth_config_object = nil, client_certificate_encrypted_private_key: nil, client_certificate_passphrase: nil, client_certificate_ssl_certificate: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation + command.request_object = google_cloud_integrations_v1alpha_auth_config_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAuthConfig + command.params['name'] = name unless name.nil? + command.query['clientCertificate.encryptedPrivateKey'] = client_certificate_encrypted_private_key unless client_certificate_encrypted_private_key.nil? + command.query['clientCertificate.passphrase'] = client_certificate_passphrase unless client_certificate_passphrase.nil? + command.query['clientCertificate.sslCertificate'] = client_certificate_ssl_certificate unless client_certificate_ssl_certificate.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new certificate. The certificate will be registered to the trawler + # service and will be encrypted using cloud KMS and stored in Spanner Returns + # the certificate. + # @param [String] parent + # Required. "projects/`project`/locations/`location`" format. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_product_certificate(parent, google_cloud_integrations_v1alpha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/certificates', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation + command.request_object = google_cloud_integrations_v1alpha_certificate_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a certificate + # @param [String] name + # Required. The name that is associated with the Certificate. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get a certificates in the specified project. + # @param [String] name + # Required. The certificate to retrieve. Format: projects/`project`/locations/` + # location`/certificates/`certificate` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_product_certificate(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List all the certificates that match the filter. Restrict to certificate of + # current client only. + # @param [String] parent + # Required. The client, which owns this collection of Certificates. + # @param [String] filter + # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ + # guides/list-filters. + # @param [Fixnum] page_size + # The size of entries in the response. If unspecified, defaults to 100. + # @param [String] page_token + # The token returned in the previous response. + # @param [String] read_mask + # The mask which specifies fields that need to be returned in the Certificate's + # response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_product_certificates(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/certificates', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListCertificatesResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the certificate by id. If new certificate file is updated, it will + # register with the trawler service, re-encrypt with cloud KMS and update the + # Spanner record. Other fields will directly update the Spanner record. Returns + # the Certificate. + # @param [String] name + # Output only. Auto generated primary key + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] google_cloud_integrations_v1alpha_certificate_object + # @param [String] update_mask + # Field mask specifying the fields in the above Certificate that have been + # modified and need to be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_product_certificate(name, google_cloud_integrations_v1alpha_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation + command.request_object = google_cloud_integrations_v1alpha_certificate_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCertificate + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a cloud function project. + # @param [String] parent + # Required. The project that the executed integration belongs to. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest] google_cloud_integrations_v1alpha_create_cloud_function_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1/{+parent}/cloudFunctions', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_create_cloud_function_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Executes integrations synchronously by passing the trigger id in the request + # body. The request is not returned until the requested executions are either + # fulfilled or experienced an error. If the integration name is not specified ( + # passing `-`), all of the associated integration under the given trigger_id + # will be executed. Otherwise only the specified integration for the given ` + # trigger_id` is executed. This is helpful for execution the integration from UI. + # @param [String] name + # Required. The integration resource name. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest] google_cloud_integrations_v1alpha_execute_integrations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def execute_project_location_product_integration(name, google_cloud_integrations_v1alpha_execute_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:execute', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_execute_integrations_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all integrations in the specified project. + # @param [String] parent + # Required. Project and location from which the integrations should be listed. + # Format: projects/`project` + # @param [String] filter + # Filter on fields of IntegrationVersion. Fields can be compared with literal + # values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less + # than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( + # inequality) operators. Negation, conjunction, and disjunction are written + # using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= + # ACTIVE AND description:"test". Filtering cannot be performed on repeated + # fields like `task_config`. + # @param [String] order_by + # The results would be returned in order you specified here. Supported sort keys + # are: Descending sort order by "last_modified_time", "created_time", " + # snapshot_number". Ascending sort order by the integration name. + # @param [Fixnum] page_size + # The page size for the resquest. + # @param [String] page_token + # The page token for the resquest. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_product_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/integrations', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Schedules an integration for execution by passing the trigger id and the + # scheduled time in the request body. + # @param [String] name + # The integration resource name. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest] google_cloud_integrations_v1alpha_schedule_integrations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def schedule_project_location_product_integration(name, google_cloud_integrations_v1alpha_schedule_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:schedule', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_schedule_integrations_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Execute the integration in draft state + # @param [String] name + # Output only. Auto-generated primary key. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest] google_cloud_integrations_v1alpha_test_integrations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_location_product_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:test', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_test_integrations_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Download the execution. + # @param [String] name + # Required. The execution resource name. Format: projects/`gcp_project_id`/ + # locations/`location`/products/`product`/integrations/`integration_id`/ + # executions/`execution_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def download_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:download', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get an execution in the specified project. + # @param [String] name + # Required. The execution resource name. Format: projects/`gcp_project_id`/ + # locations/`location`/products/`product`/integrations/`integration_id`/ + # executions/`execution_id` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the results of all the integration executions. The response includes the + # same information as the [execution log](https://cloud.google.com/application- + # integration/docs/viewing-logs) in the Integration UI. + # @param [String] parent + # Required. The parent resource name of the integration execution. + # @param [String] filter + # Optional. Standard filter field, we support filtering on following fields: + # workflow_name: the name of the integration. CreateTimestamp: the execution + # created time. event_execution_state: the state of the executions. execution_id: + # the id of the execution. trigger_id: the id of the trigger. parameter_type: + # the type of the parameters involved in the execution. All fields support for + # EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN + # ParameterType support for HAS For example: "parameter_type" HAS \"string\" + # Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND + # workflow_name=\"testWorkflow\" + # @param [String] filter_params_custom_filter + # Optional user-provided custom filter. + # @param [Fixnum] filter_params_end_time + # End timestamp. + # @param [Array, String] filter_params_event_statuses + # List of possible event statuses. + # @param [String] filter_params_execution_id + # Execution id. + # @param [String] filter_params_parameter_key + # Param key. DEPRECATED. User parameter_pair_key instead. + # @param [String] filter_params_parameter_pair_key + # Param key in the key value pair filter. + # @param [String] filter_params_parameter_pair_value + # Param value in the key value pair filter. + # @param [String] filter_params_parameter_type + # Param type. + # @param [String] filter_params_parameter_value + # Param value. DEPRECATED. User parameter_pair_value instead. + # @param [Fixnum] filter_params_start_time + # Start timestamp. + # @param [Array, String] filter_params_task_statuses + # List of possible task statuses. + # @param [String] filter_params_workflow_name + # Workflow name. + # @param [String] order_by + # Optional. The results would be returned in order you specified here. Currently + # supporting "create_time". + # @param [Fixnum] page_size + # Optional. The size of entries in the response. + # @param [String] page_token + # Optional. The token returned in the previous response. + # @param [String] read_mask + # Optional. View mask for the response data. If set, only the field specified + # will be returned as part of the result. If not set, all fields in Execution + # will be filled and returned. Supported fields: trigger_id execution_method + # create_time update_time execution_details execution_details.state + # execution_details.execution_snapshots execution_details.attempt_stats + # execution_details.event_execution_snapshots_size request_parameters + # cloud_logging_details snapshot_number replay_info + # @param [Boolean] refresh_acl + # Optional. If true, the service will use the most recent acl information to + # list event execution infos and renew the acl cache. Note that fetching the + # most recent acl is synchronous, so it will increase RPC call latency. + # @param [Boolean] snapshot_metadata_without_params + # Optional. If true, the service will provide execution info with snapshot + # metadata only i.e. without event parameters. + # @param [Boolean] truncate_params + # Optional. If true, the service will truncate the params to only keep the first + # 1000 characters of string params and empty the executions in order to make + # response smaller. Only works for UI and when the params fields are not + # filtered out. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:get, 'v1/{+parent}/executions', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['filterParams.customFilter'] = filter_params_custom_filter unless filter_params_custom_filter.nil? + command.query['filterParams.endTime'] = filter_params_end_time unless filter_params_end_time.nil? + command.query['filterParams.eventStatuses'] = filter_params_event_statuses unless filter_params_event_statuses.nil? + command.query['filterParams.executionId'] = filter_params_execution_id unless filter_params_execution_id.nil? + command.query['filterParams.parameterKey'] = filter_params_parameter_key unless filter_params_parameter_key.nil? + command.query['filterParams.parameterPairKey'] = filter_params_parameter_pair_key unless filter_params_parameter_pair_key.nil? + command.query['filterParams.parameterPairValue'] = filter_params_parameter_pair_value unless filter_params_parameter_pair_value.nil? + command.query['filterParams.parameterType'] = filter_params_parameter_type unless filter_params_parameter_type.nil? + command.query['filterParams.parameterValue'] = filter_params_parameter_value unless filter_params_parameter_value.nil? + command.query['filterParams.startTime'] = filter_params_start_time unless filter_params_start_time.nil? + command.query['filterParams.taskStatuses'] = filter_params_task_statuses unless filter_params_task_statuses.nil? + command.query['filterParams.workflowName'] = filter_params_workflow_name unless filter_params_workflow_name.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? + command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil? + command.query['snapshotMetadataWithoutParams'] = snapshot_metadata_without_params unless snapshot_metadata_without_params.nil? + command.query['truncateParams'] = truncate_params unless truncate_params.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # * Lifts suspension for the Suspension task. Fetch corresponding suspension + # with provided suspension Id, resolve suspension, and set up suspension result + # for the Suspension Task. + # @param [String] name + # Required. The resource that the suspension belongs to. "projects/`project`/ + # locations/`location`/products/`product`/integrations/`integration`/executions/` + # execution`/suspensions/`suspenion`" format. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest] google_cloud_integrations_v1alpha_lift_suspension_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def lift_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:lift', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # * Lists suspensions associated with a specific execution. Only those with + # permissions to resolve the relevant suspensions will be able to view them. + # @param [String] parent + # Required. projects/`gcp_project_id`/locations/`location`/products/`product`/ + # integrations/`integration_name`/executions/`execution_name` + # @param [String] filter + # Standard filter field. + # @param [String] order_by + # Field name to order by. + # @param [Fixnum] page_size + # Maximum number of entries in the response. + # @param [String] page_token + # Token to retrieve a specific page. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_project_location_product_integration(name, google_cloud_integrations_v1alpha_test_integrations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:test', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_test_integrations_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse + def list_project_location_product_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/suspensions', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # * Resolves (lifts/rejects) any number of suspensions. If the integration is + # already running, only the status of the suspension is updated. Otherwise, the + # suspended integration will begin execution again. + # @param [String] name + # Required. projects/`gcp_project_id`/locations/`location`/products/`product`/ + # integrations/`integration_name`/executions/`execution_name`/suspensions/` + # suspension_id` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest] google_cloud_integrations_v1alpha_resolve_suspension_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def resolve_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:resolve', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Cancellation of an execution + # Create a integration with a draft version in the specified project. + # @param [String] parent + # Required. The parent resource where this version will be created. Format: + # projects/`project`/locations/`location`/integrations/`integration` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object + # @param [Boolean] create_sample_integrations + # Optional. Optional. Indicates if sample workflow should be created. + # @param [Boolean] new_integration + # Set this flag to true, if draft version is to be created for a brand new + # integration. False, if the request is for an existing integration. For + # backward compatibility reasons, even if this flag is set to `false` and no + # existing integration is found, a new draft integration will still be created. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1/{+parent}/versions', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + command.request_object = google_cloud_integrations_v1alpha_integration_version_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion + command.params['parent'] = parent unless parent.nil? + command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil? + command.query['newIntegration'] = new_integration unless new_integration.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Soft-deletes the integration. Changes the status of the integration to + # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is + # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The + # PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an + # exception if the version being deleted is DRAFT, and if the `locked_by` user + # is not the same as the user performing the Delete. Audit fields updated + # include last_modified_timestamp, last_modified_by. Any existing lock is + # released when Deleting a integration. Currently, there is no undelete + # mechanism. # @param [String] name - # Required. The execution resource name. Format: projects/`gcp_project_id`/ - # locations/`location`/products/`product`/integrations/`integration_id`/ - # executions/`execution_id` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest] google_cloud_integrations_v1alpha_cancel_execution_request_object + # Required. The version to delete. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`version` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2616,31 +3457,34 @@ def test_project_location_product_integration(name, google_cloud_integrations_v1 # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_project_location_product_integration_execution(name, google_cloud_integrations_v1alpha_cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_cancel_execution_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionResponse + def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Download the execution. + # Downloads an integration. Retrieves the `IntegrationVersion` for a given ` + # integration_id` and returns the response as a string. # @param [String] name - # Required. The execution resource name. Format: projects/`gcp_project_id`/ - # locations/`location`/products/`product`/integrations/`integration_id`/ - # executions/`execution_id` + # Required. The version to download. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`version` + # @param [String] file_format + # File format for download request. + # @param [Array, String] files + # Optional. Integration related file to download like Integration Json, Config + # variable, testcase etc. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2650,29 +3494,30 @@ def cancel_project_location_product_integration_execution(name, google_cloud_int # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def download_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block) + def download_project_location_product_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:download', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadExecutionResponse + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse command.params['name'] = name unless name.nil? + command.query['fileFormat'] = file_format unless file_format.nil? + command.query['files'] = files unless files.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Get an execution in the specified project. + # Get a integration in the specified project. # @param [String] name - # Required. The execution resource name. Format: projects/`gcp_project_id`/ - # locations/`location`/products/`product`/integrations/`integration_id`/ - # executions/`execution_id` + # Required. The version to retrieve. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`version` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2682,86 +3527,55 @@ def download_project_location_product_integration_execution(name, fields: nil, q # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_product_integration_execution(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists the results of all the integration executions. The response includes the - # same information as the [execution log](https://cloud.google.com/application- - # integration/docs/viewing-logs) in the Integration UI. + # Returns the list of all integration versions in the specified project. # @param [String] parent - # Required. The parent resource name of the integration execution. + # Required. The parent resource where this version will be created. Format: + # projects/`project`/locations/`location`/integrations/`integration` + # Specifically, when parent equals: 1. projects//locations//integrations/, + # Meaning: "List versions (with filter) for a particular integration". 2. + # projects//locations//integrations/- Meaning: "List versions (with filter) for + # a client within a particular region". + # @param [String] field_mask + # The field mask which specifies the particular data to be returned. # @param [String] filter - # Optional. Standard filter field, we support filtering on following fields: - # workflow_name: the name of the integration. CreateTimestamp: the execution - # created time. event_execution_state: the state of the executions. execution_id: - # the id of the execution. trigger_id: the id of the trigger. parameter_type: - # the type of the parameters involved in the execution. All fields support for - # EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN - # ParameterType support for HAS For example: "parameter_type" HAS \"string\" - # Also supports operators like AND, OR, NOT For example, trigger_id=\"id1\" AND - # workflow_name=\"testWorkflow\" - # @param [String] filter_params_custom_filter - # Optional user-provided custom filter. - # @param [Fixnum] filter_params_end_time - # End timestamp. - # @param [Array, String] filter_params_event_statuses - # List of possible event statuses. - # @param [String] filter_params_execution_id - # Execution id. - # @param [String] filter_params_parameter_key - # Param key. DEPRECATED. User parameter_pair_key instead. - # @param [String] filter_params_parameter_pair_key - # Param key in the key value pair filter. - # @param [String] filter_params_parameter_pair_value - # Param value in the key value pair filter. - # @param [String] filter_params_parameter_type - # Param type. - # @param [String] filter_params_parameter_value - # Param value. DEPRECATED. User parameter_pair_value instead. - # @param [Fixnum] filter_params_start_time - # Start timestamp. - # @param [Array, String] filter_params_task_statuses - # List of possible task statuses. - # @param [String] filter_params_workflow_name - # Workflow name. + # Filter on fields of IntegrationVersion. Fields can be compared with literal + # values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less + # than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( + # inequality) operators. Negation, conjunction, and disjunction are written + # using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= + # ACTIVE AND description:"test". Filtering cannot be performed on repeated + # fields like `task_config`. # @param [String] order_by - # Optional. The results would be returned in order you specified here. Currently - # supporting "last_modified_time" and "create_time". + # The results would be returned in order you specified here. Currently supported + # sort keys are: Descending sort order for "last\_modified\_time", "created\ + # _time", and "snapshot\_number". Ascending sort order for `name`. # @param [Fixnum] page_size - # Optional. The size of entries in the response. + # The maximum number of versions to return. The service may return fewer than + # this value. If unspecified, at most 50 versions will be returned. The maximum + # value is 1000; values above 1000 will be coerced to 1000. # @param [String] page_token - # Optional. The token returned in the previous response. - # @param [String] read_mask - # Optional. View mask for the response data. If set, only the field specified - # will be returned as part of the result. If not set, all fields in event - # execution info will be filled and returned. - # @param [Boolean] refresh_acl - # Optional. If true, the service will use the most recent acl information to - # list event execution infos and renew the acl cache. Note that fetching the - # most recent acl is synchronous, so it will increase RPC call latency. - # @param [Boolean] snapshot_metadata_without_params - # Optional. If true, the service will provide execution info with snapshot - # metadata only i.e. without event parameters. - # @param [Boolean] truncate_params - # Optional. If true, the service will truncate the params to only keep the first - # 1000 characters of string params and empty the executions in order to make - # response smaller. Only works for UI and when the params fields are not - # filtered out. + # A page token, received from a previous `ListIntegrationVersions` call. Provide + # this to retrieve the subsequent page. When paginating, all other parameters + # provided to `ListIntegrationVersions` must match the call that provided the + # page token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2771,52 +3585,36 @@ def get_project_location_product_integration_execution(name, fields: nil, quota_ # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) - command = make_simple_command(:get, 'v1/{+parent}/executions', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListExecutionsResponse + def list_project_location_product_integration_versions(parent, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/versions', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse command.params['parent'] = parent unless parent.nil? + command.query['fieldMask'] = field_mask unless field_mask.nil? command.query['filter'] = filter unless filter.nil? - command.query['filterParams.customFilter'] = filter_params_custom_filter unless filter_params_custom_filter.nil? - command.query['filterParams.endTime'] = filter_params_end_time unless filter_params_end_time.nil? - command.query['filterParams.eventStatuses'] = filter_params_event_statuses unless filter_params_event_statuses.nil? - command.query['filterParams.executionId'] = filter_params_execution_id unless filter_params_execution_id.nil? - command.query['filterParams.parameterKey'] = filter_params_parameter_key unless filter_params_parameter_key.nil? - command.query['filterParams.parameterPairKey'] = filter_params_parameter_pair_key unless filter_params_parameter_pair_key.nil? - command.query['filterParams.parameterPairValue'] = filter_params_parameter_pair_value unless filter_params_parameter_pair_value.nil? - command.query['filterParams.parameterType'] = filter_params_parameter_type unless filter_params_parameter_type.nil? - command.query['filterParams.parameterValue'] = filter_params_parameter_value unless filter_params_parameter_value.nil? - command.query['filterParams.startTime'] = filter_params_start_time unless filter_params_start_time.nil? - command.query['filterParams.taskStatuses'] = filter_params_task_statuses unless filter_params_task_statuses.nil? - command.query['filterParams.workflowName'] = filter_params_workflow_name unless filter_params_workflow_name.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['readMask'] = read_mask unless read_mask.nil? - command.query['refreshAcl'] = refresh_acl unless refresh_acl.nil? - command.query['snapshotMetadataWithoutParams'] = snapshot_metadata_without_params unless snapshot_metadata_without_params.nil? - command.query['truncateParams'] = truncate_params unless truncate_params.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # * Lifts suspension for the Suspension task. Fetch corresponding suspension - # with provided suspension Id, resolve suspension, and set up suspension result - # for the Suspension Task. + # Update a integration with a draft version in the specified project. # @param [String] name - # Required. The resource that the suspension belongs to. "projects/`project`/ - # locations/`location`/products/`product`/integrations/`integration`/executions/` - # execution`/suspensions/`suspenion`" format. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest] google_cloud_integrations_v1alpha_lift_suspension_request_object + # Output only. Auto-generated primary key. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object + # @param [String] update_mask + # Field mask specifying the fields in the above integration that have been + # modified and need to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2826,39 +3624,37 @@ def list_project_location_product_integration_executions(parent, filter: nil, fi # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def lift_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_lift_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:lift', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_lift_suspension_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaLiftSuspensionResponse + def patch_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_integration_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + command.request_object = google_cloud_integrations_v1alpha_integration_version_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # * Lists suspensions associated with a specific execution. Only those with - # permissions to resolve the relevant suspensions will be able to view them. - # @param [String] parent - # Required. projects/`gcp_project_id`/locations/`location`/products/`product`/ - # integrations/`integration_name`/executions/`execution_name` - # @param [String] filter - # Standard filter field. - # @param [String] order_by - # Field name to order by. - # @param [Fixnum] page_size - # Maximum number of entries in the response. - # @param [String] page_token - # Token to retrieve a specific page. + # This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. + # This RPC throws an exception if the version being published is DRAFT, and if + # the `locked_by` user is not the same as the user performing the Publish. Audit + # fields updated include last_published_timestamp, last_published_by, + # last_modified_timestamp, last_modified_by. Any existing lock is on this + # integration is released. + # @param [String] name + # Required. The version to publish. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`version` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_publish_integration_version_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2868,36 +3664,41 @@ def lift_project_location_product_integration_execution_suspension(name, google_ # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_product_integration_execution_suspensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/suspensions', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse - command.params['parent'] = parent unless parent.nil? - command.query['filter'] = filter unless filter.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? + def publish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:publish', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # * Resolves (lifts/rejects) any number of suspensions. If the integration is - # already running, only the status of the suspension is updated. Otherwise, the - # suspended integration will begin execution again. - # @param [String] name - # Required. projects/`gcp_project_id`/locations/`location`/products/`product`/ - # integrations/`integration_name`/executions/`execution_name`/suspensions/` - # suspension_id` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest] google_cloud_integrations_v1alpha_resolve_suspension_request_object + # Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this + # integration. It then performs the same action as the + # CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the + # integration as a SNAPSHOT and then creates a new DRAFT version with the ` + # locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to + # the current timestamp). Both the `locked_by` and `user_taking_over` are + # notified via email about the takeover. This RPC throws an exception if the + # integration is not in DRAFT status or if the `locked_by` and ` + # locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the + # same as an edit of the integration, and hence shares ACLs with edit. Audit + # fields updated include last_modified_timestamp, last_modified_by. + # @param [String] integration_version + # Required. The version to take over edit lock. Format: projects/`project`/ + # locations/`location`/integrations/`integration`/versions/`version` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest] google_cloud_integrations_v1alpha_takeover_edit_lock_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2907,38 +3708,34 @@ def list_project_location_product_integration_execution_suspensions(parent, filt # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def resolve_project_location_product_integration_execution_suspension(name, google_cloud_integrations_v1alpha_resolve_suspension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:resolve', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_resolve_suspension_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaResolveSuspensionResponse - command.params['name'] = name unless name.nil? + def takeover_project_location_product_integration_version_edit_lock(integration_version, google_cloud_integrations_v1alpha_takeover_edit_lock_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+integrationVersion}:takeoverEditLock', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse + command.params['integrationVersion'] = integration_version unless integration_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Create a integration with a draft version in the specified project. - # @param [String] parent - # Required. The parent resource where this version will be created. Format: - # projects/`project`/locations/`location`/integrations/`integration` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object - # @param [Boolean] create_sample_integrations - # Optional. Optional. Indicates if sample workflow should be created. - # @param [Boolean] new_integration - # Set this flag to true, if draft version is to be created for a brand new - # integration. False, if the request is for an existing integration. For - # backward compatibility reasons, even if this flag is set to `false` and no - # existing integration is found, a new draft integration will still be created. + # Sets the status of the ACTIVE integration to SNAPSHOT with a new tag " + # PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" + # tags do not change. This RPC throws an exception if the version being snapshot + # is not ACTIVE. Audit fields added include action, action_by, action_timestamp. + # @param [String] name + # Required. The version to deactivate. Format: projects/`project`/locations/` + # location`/integrations/`integration`/versions/`version` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2948,40 +3745,68 @@ def resolve_project_location_product_integration_execution_suspension(name, goog # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) - command = make_simple_command(:post, 'v1/{+parent}/versions', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation - command.request_object = google_cloud_integrations_v1alpha_integration_version_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion - command.params['parent'] = parent unless parent.nil? - command.query['createSampleIntegrations'] = create_sample_integrations unless create_sample_integrations.nil? - command.query['newIntegration'] = new_integration unless new_integration.nil? + 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) + command = make_simple_command(:post, 'v1/{+name}:unpublish', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Soft-deletes the integration. Changes the status of the integration to - # ARCHIVED. If the integration being ARCHIVED is tagged as "HEAD", the tag is - # removed from this snapshot and set to the previous non-ARCHIVED snapshot. The - # PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an - # exception if the version being deleted is DRAFT, and if the `locked_by` user - # is not the same as the user performing the Delete. Audit fields updated - # include last_modified_timestamp, last_modified_by. Any existing lock is - # released when Deleting a integration. Currently, there is no undelete - # mechanism. - # @param [String] name - # Required. The version to delete. Format: projects/`project`/locations/` - # location`/integrations/`integration`/versions/`version` + # Uploads an integration. The content can be a previously downloaded integration. + # Performs the same function as CreateDraftIntegrationVersion, but accepts + # input in a string format, which holds the complete representation of the + # IntegrationVersion content. + # @param [String] parent + # Required. The version to upload. Format: projects/`project`/locations/` + # location`/integrations/`integration` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest] google_cloud_integrations_v1alpha_upload_integration_version_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def upload_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/versions:upload', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns + # the sfdc instance. + # @param [String] parent + # Required. "projects/`project`/locations/`location`" format. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2991,34 +3816,29 @@ def create_project_location_product_integration_version(parent, google_cloud_int # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty - command.params['name'] = name unless name.nil? + def create_project_location_product_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation + command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance + command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Downloads an integration. Retrieves the `IntegrationVersion` for a given ` - # integration_id` and returns the response as a string. + # Deletes an sfdc instance. # @param [String] name - # Required. The version to download. Format: projects/`project`/locations/` - # location`/integrations/`integration`/versions/`version` - # @param [String] file_format - # File format for download request. - # @param [Array, String] files - # Optional. Integration related file to download like Integration Json, Config - # variable, testcase etc. + # Required. The name that is associated with the SfdcInstance. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3028,30 +3848,28 @@ def delete_project_location_product_integration_version(name, fields: nil, quota # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def download_project_location_product_integration_version(name, file_format: nil, files: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}:download', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse + def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? - command.query['fileFormat'] = file_format unless file_format.nil? - command.query['files'] = files unless files.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Get a integration in the specified project. + # Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception + # will be thrown. # @param [String] name - # Required. The version to retrieve. Format: projects/`project`/locations/` - # location`/integrations/`integration`/versions/`version` + # Required. The name that is associated with the SfdcInstance. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3061,56 +3879,38 @@ def download_project_location_product_integration_version(name, file_format: nil # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_product_integration_version(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns the list of all integration versions in the specified project. + # Lists all sfdc instances that match the filter. Restrict to sfdc instances + # belonging to the current client only. # @param [String] parent - # Required. The parent resource where this version will be created. Format: - # projects/`project`/locations/`location`/integrations/`integration` - # Specifically, when parent equals: 1. projects//locations//integrations/, - # Meaning: "List versions (with filter) for a particular integration". 2. - # projects//locations//integrations/- Meaning: "List versions (with filter) for - # a client within a particular region". 3. projects//locations/-/integrations/- - # Meaning: "List versions (with filter) for a client". - # @param [String] field_mask - # The field mask which specifies the particular data to be returned. + # Required. The client, which owns this collection of SfdcInstances. # @param [String] filter - # Filter on fields of IntegrationVersion. Fields can be compared with literal - # values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less - # than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" ( - # inequality) operators. Negation, conjunction, and disjunction are written - # using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state= - # ACTIVE AND description:"test". Filtering cannot be performed on repeated - # fields like `task_config`. - # @param [String] order_by - # The results would be returned in order you specified here. Currently supported - # sort keys are: Descending sort order for "last_modified_time", "created_time", - # "snapshot_number" Ascending sort order for "name". + # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ + # guides/list-filters. # @param [Fixnum] page_size - # The maximum number of versions to return. The service may return fewer than - # this value. If unspecified, at most 50 versions will be returned. The maximum - # value is 1000; values above 1000 will be coerced to 1000. + # The size of entries in the response. If unspecified, defaults to 100. # @param [String] page_token - # A page token, received from a previous `ListIntegrationVersions` call. Provide - # this to retrieve the subsequent page. When paginating, all other parameters - # provided to `ListIntegrationVersions` must match the call that provided the - # page token. + # The token returned in the previous response. + # @param [String] read_mask + # The mask which specifies fields that need to be returned in the SfdcInstance's + # response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3120,35 +3920,36 @@ def get_project_location_product_integration_version(name, fields: nil, quota_us # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_product_integration_versions(parent, field_mask: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/versions', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse + def list_project_location_product_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse command.params['parent'] = parent unless parent.nil? - command.query['fieldMask'] = field_mask unless field_mask.nil? command.query['filter'] = filter unless filter.nil? - command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Update a integration with a draft version in the specified project. + # Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the + # sfdc instance. # @param [String] name - # Output only. Auto-generated primary key. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] google_cloud_integrations_v1alpha_integration_version_object + # Resource name of the SFDC instance projects/`project`/locations/`location`/ + # sfdcInstances/`sfdcInstance`. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object # @param [String] update_mask - # Field mask specifying the fields in the above integration that have been + # Field mask specifying the fields in the above SfdcInstance that have been # modified and need to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3159,20 +3960,20 @@ def list_project_location_product_integration_versions(parent, field_mask: nil, # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def patch_project_location_product_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation - command.request_object = google_cloud_integrations_v1alpha_integration_version_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation + command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? @@ -3180,16 +3981,43 @@ def patch_project_location_product_integration_version(name, google_cloud_integr execute_or_queue_command(command, &block) end - # This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. - # This RPC throws an exception if the version being published is DRAFT, and if - # the `locked_by` user is not the same as the user performing the Publish. Audit - # fields updated include last_published_timestamp, last_published_by, - # last_modified_timestamp, last_modified_by. Any existing lock is on this - # integration is released. + # Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the + # sfdc channel. + # @param [String] parent + # Required. "projects/`project`/locations/`location`" format. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_product_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation + command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an sfdc channel. # @param [String] name - # Required. The version to publish. Format: projects/`project`/locations/` - # location`/integrations/`integration`/versions/`version` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_publish_integration_version_request_object + # Required. The name that is associated with the SfdcChannel. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3199,41 +4027,28 @@ def patch_project_location_product_integration_version(name, google_cloud_integr # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def publish_project_location_product_integration_version(name, google_cloud_integrations_v1alpha_publish_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:publish', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_publish_integration_version_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse + def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this - # integration. It then performs the same action as the - # CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the - # integration as a SNAPSHOT and then creates a new DRAFT version with the ` - # locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to - # the current timestamp). Both the `locked_by` and `user_taking_over` are - # notified via email about the takeover. This RPC throws an exception if the - # integration is not in DRAFT status or if the `locked_by` and ` - # locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the - # same as an edit of the integration, and hence shares ACLs with edit. Audit - # fields updated include last_modified_timestamp, last_modified_by. - # @param [String] integration_version - # Required. The version to take over edit lock. Format: projects/`project`/ - # locations/`location`/integrations/`integration`/versions/`version` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest] google_cloud_integrations_v1alpha_takeover_edit_lock_request_object + # Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception + # will be thrown. + # @param [String] name + # Required. The name that is associated with the SfdcChannel. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3243,34 +4058,38 @@ def publish_project_location_product_integration_version(name, google_cloud_inte # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def takeover_project_location_product_integration_version_edit_lock(integration_version, google_cloud_integrations_v1alpha_takeover_edit_lock_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+integrationVersion}:takeoverEditLock', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_takeover_edit_lock_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse - command.params['integrationVersion'] = integration_version unless integration_version.nil? + def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Sets the status of the ACTIVE integration to SNAPSHOT with a new tag " - # PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and "PUBLISH_REQUESTED" - # tags do not change. This RPC throws an exception if the version being snapshot - # is not ACTIVE. Audit fields added include action, action_by, action_timestamp. - # @param [String] name - # Required. The version to deactivate. Format: projects/`project`/locations/` - # location`/integrations/`integration`/versions/`version` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest] google_cloud_integrations_v1alpha_unpublish_integration_version_request_object + # Lists all sfdc channels that match the filter. Restrict to sfdc channels + # belonging to the current client only. + # @param [String] parent + # Required. The client, which owns this collection of SfdcChannels. + # @param [String] filter + # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ + # guides/list-filters. + # @param [Fixnum] page_size + # The size of entries in the response. If unspecified, defaults to 100. + # @param [String] page_token + # The token returned in the previous response. + # @param [String] read_mask + # The mask which specifies fields that need to be returned in the SfdcChannel's + # response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3280,34 +4099,37 @@ def takeover_project_location_product_integration_version_edit_lock(integration_ # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) - command = make_simple_command(:post, 'v1/{+name}:unpublish', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_unpublish_integration_version_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty - command.params['name'] = name unless name.nil? + def list_project_location_product_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Uploads an integration. The content can be a previously downloaded integration. - # Performs the same function as CreateDraftIntegrationVersion, but accepts - # input in a string format, which holds the complete representation of the - # IntegrationVersion content. - # @param [String] parent - # Required. The version to upload. Format: projects/`project`/locations/` - # location`/integrations/`integration` - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest] google_cloud_integrations_v1alpha_upload_integration_version_request_object + # Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc + # channel. + # @param [String] name + # Resource name of the SFDC channel projects/`project`/locations/`location`/ + # sfdcInstances/`sfdc_instance`/sfdcChannels/`sfdc_channel`. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object + # @param [String] update_mask + # Field mask specifying the fields in the above SfdcChannel that have been + # modified and need to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3317,21 +4139,22 @@ def unpublish_project_location_product_integration_version(name, google_cloud_in # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def upload_project_location_product_integration_version(parent, google_cloud_integrations_v1alpha_upload_integration_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/versions:upload', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest::Representation - command.request_object = google_cloud_integrations_v1alpha_upload_integration_version_request_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse - command.params['parent'] = parent unless parent.nil? + def patch_project_location_product_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation + command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -3359,7 +4182,7 @@ def upload_project_location_product_integration_version(parent, google_cloud_int # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_product_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_project_location_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options) command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object @@ -3391,7 +4214,7 @@ def create_project_location_product_sfdc_instance(parent, google_cloud_integrati # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty @@ -3422,7 +4245,7 @@ def delete_project_location_product_sfdc_instance(name, fields: nil, quota_user: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance @@ -3463,7 +4286,7 @@ def get_project_location_product_sfdc_instance(name, fields: nil, quota_user: ni # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse @@ -3503,7 +4326,7 @@ def list_project_location_product_sfdc_instances(parent, filter: nil, page_size: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def patch_project_location_sfdc_instance(name, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object @@ -3538,7 +4361,7 @@ def patch_project_location_product_sfdc_instance(name, google_cloud_integrations # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def create_project_location_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options) command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object @@ -3570,7 +4393,7 @@ def create_project_location_product_sfdc_instance_sfdc_channel(parent, google_cl # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty @@ -3601,7 +4424,7 @@ def delete_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel @@ -3642,7 +4465,7 @@ def get_project_location_product_sfdc_instance_sfdc_channel(name, fields: nil, q # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def list_project_location_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse @@ -3682,7 +4505,7 @@ def list_project_location_product_sfdc_instance_sfdc_channels(parent, filter: ni # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def patch_project_location_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object @@ -3695,11 +4518,10 @@ def patch_project_location_product_sfdc_instance_sfdc_channel(name, google_cloud execute_or_queue_command(command, &block) end - # Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns - # the sfdc instance. + # Creates a new template # @param [String] parent # Required. "projects/`project`/locations/`location`" format. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] google_cloud_integrations_v1alpha_template_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3709,29 +4531,29 @@ def patch_project_location_product_sfdc_instance_sfdc_channel(name, google_cloud # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_sfdc_instance(parent, google_cloud_integrations_v1alpha_sfdc_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/sfdcInstances', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation - command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance + def create_project_location_template(parent, google_cloud_integrations_v1alpha_template_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/templates', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + command.request_object = google_cloud_integrations_v1alpha_template_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes an sfdc instance. + # Deletes a template # @param [String] name - # Required. The name that is associated with the SfdcInstance. + # Required. The name that is associated with the Template. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3749,7 +4571,7 @@ def create_project_location_sfdc_instance(parent, google_cloud_integrations_v1al # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty @@ -3759,10 +4581,13 @@ def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, op execute_or_queue_command(command, &block) end - # Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception - # will be thrown. + # Downloads a template. Retrieves the `Template` and returns the response as a + # string. # @param [String] name - # Required. The name that is associated with the SfdcInstance. + # Required. The template to download. Format: projects/`project`/locations/` + # location`/template/`template_id` + # @param [String] file_format + # Required. File format for download request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3772,38 +4597,109 @@ def delete_project_location_sfdc_instance(name, fields: nil, quota_user: nil, op # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, options: nil, &block) + def download_project_location_template(name, file_format: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:download', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaDownloadTemplateResponse + command.params['name'] = name unless name.nil? + command.query['fileFormat'] = file_format unless file_format.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get a template in the specified project. + # @param [String] name + # Required. The template to retrieve. Format: projects/`project`/locations/` + # location`/templates/`template` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists all sfdc instances that match the filter. Restrict to sfdc instances - # belonging to the current client only. + # Import the template to an existing integration. This api would keep track of + # usage_count and last_used_time. PERMISSION_DENIED would be thrown if template + # is not accessible by client. + # @param [String] name + # Required. The name that is associated with the Template. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest] google_cloud_integrations_v1alpha_import_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_project_location_template(name, google_cloud_integrations_v1alpha_import_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:import', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_import_template_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaImportTemplateResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all templates matching the filter. # @param [String] parent - # Required. The client, which owns this collection of SfdcInstances. + # Required. The client, which owns this collection of Templates. # @param [String] filter - # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ - # guides/list-filters. + # Optional. Standard filter field to filter templates. client_id filter won't be + # supported and will restrict to templates belonging to the current client only. + # Return all templates of the current client if the filter is empty. Also + # supports operators like AND, OR, NOT For example, "status=\"ACTIVE\" + # @param [String] order_by + # Optional. The results would be returned in the order you specified here. # @param [Fixnum] page_size - # The size of entries in the response. If unspecified, defaults to 100. + # Optional. The size of the response entries. If unspecified, defaults to 100. + # The maximum value is 1000; values above 1000 will be coerced to 1000. # @param [String] page_token - # The token returned in the previous response. + # Optional. The token returned in the previous response. # @param [String] read_mask - # The mask which specifies fields that need to be returned in the SfdcInstance's - # response. + # Optional. The mask which specifies fields that need to be returned in the + # template's response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3813,20 +4709,21 @@ def get_project_location_sfdc_instance(name, fields: nil, quota_user: nil, optio # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/sfdcInstances', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse + 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) + command = make_simple_command(:get, 'v1/{+parent}/templates', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['readMask'] = read_mask unless read_mask.nil? @@ -3835,15 +4732,13 @@ def list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, pa execute_or_queue_command(command, &block) end - # Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the - # sfdc instance. + # Updates the template by given id. # @param [String] name - # Resource name of the SFDC instance projects/`project`/locations/`location`/ - # sfdcInstances/`sfdcInstance`. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] google_cloud_integrations_v1alpha_sfdc_instance_object + # Identifier. Resource name of the template. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] google_cloud_integrations_v1alpha_template_object # @param [String] update_mask - # Field mask specifying the fields in the above SfdcInstance that have been - # modified and need to be updated. + # Required. Field mask specifying the fields in the above template that have + # been modified and must be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3853,20 +4748,20 @@ def list_project_location_sfdc_instances(parent, filter: nil, page_size: nil, pa # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - 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) + def patch_project_location_template(name, google_cloud_integrations_v1alpha_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation - command.request_object = google_cloud_integrations_v1alpha_sfdc_instance_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcInstance + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + command.request_object = google_cloud_integrations_v1alpha_template_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? @@ -3874,11 +4769,25 @@ def patch_project_location_sfdc_instance(name, google_cloud_integrations_v1alpha execute_or_queue_command(command, &block) end - # Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the - # sfdc channel. + # Search templates based on user query and filters. This api would query the + # templates and return a list of templates based on the user filter. # @param [String] parent - # Required. "projects/`project`/locations/`location`" format. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object + # Required. The client, which owns this collection of Templates. + # @param [String] filter + # Optional. Standard filter field to filter templates. client_id filter won't be + # supported and will restrict to templates belonging to the current client only. + # Return all templates of the current client if the filter is empty. Also + # supports operators like AND, OR, NOT For example, "status=\"ACTIVE\" + # @param [String] order_by + # Optional. The results would be returned in the order you specified here. + # @param [Fixnum] page_size + # Optional. The size of the response entries. If unspecified, defaults to 100. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @param [String] page_token + # Optional. The token returned in the previous response. + # @param [String] read_mask + # Optional. The mask which specifies fields that need to be returned in the + # template's response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3888,29 +4797,35 @@ def patch_project_location_sfdc_instance(name, google_cloud_integrations_v1alpha # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_sfdc_instance_sfdc_channel(parent, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/sfdcChannels', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation - command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel + 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) + command = make_simple_command(:get, 'v1/{+parent}/templates:search', options) + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes an sfdc channel. + # Share a template with other clients. Only the template owner can share the + # templates with other projects. PERMISSION_DENIED would be thrown if the + # request is not from the owner. # @param [String] name - # Required. The name that is associated with the SfdcChannel. + # Required. The name that is associated with the Template. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest] google_cloud_integrations_v1alpha_share_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3928,8 +4843,10 @@ def create_project_location_sfdc_instance_sfdc_channel(parent, google_cloud_inte # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) + def share_project_location_template(name, google_cloud_integrations_v1alpha_share_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:share', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaShareTemplateRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_share_template_request_object command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? @@ -3938,10 +4855,13 @@ def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_ execute_or_queue_command(command, &block) end - # Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception - # will be thrown. + # Unshare a template from given clients. Owner of the template can unshare + # template with clients. Shared client can only unshare the template from itself. + # PERMISSION_DENIED would be thrown if request is not from owner or for + # unsharing itself. # @param [String] name - # Required. The name that is associated with the SfdcChannel. + # Required. The name that is associated with the Template. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest] google_cloud_integrations_v1alpha_unshare_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3951,38 +4871,33 @@ def delete_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_ # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] + # @return [Google::Apis::IntegrationsV1::GoogleProtobufEmpty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel + def unshare_project_location_template(name, google_cloud_integrations_v1alpha_unshare_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:unshare', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUnshareTemplateRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_unshare_template_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists all sfdc channels that match the filter. Restrict to sfdc channels - # belonging to the current client only. + # Uploads a template. The content can be a previously downloaded template. + # Performs the same function as CreateTemplate, but accepts input in a string + # format, which holds the complete representation of the Template content. # @param [String] parent - # Required. The client, which owns this collection of SfdcChannels. - # @param [String] filter - # Filtering as supported in https://developers.google.com/authorized-buyers/apis/ - # guides/list-filters. - # @param [Fixnum] page_size - # The size of entries in the response. If unspecified, defaults to 100. - # @param [String] page_token - # The token returned in the previous response. - # @param [String] read_mask - # The mask which specifies fields that need to be returned in the SfdcChannel's - # response. + # Required. The template to upload. Format: projects/`project`/locations/` + # location` + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest] google_cloud_integrations_v1alpha_upload_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3992,37 +4907,32 @@ def get_project_location_sfdc_instance_sfdc_channel(name, fields: nil, quota_use # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_sfdc_instance_sfdc_channels(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/sfdcChannels', options) - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse + def upload_project_location_template(parent, google_cloud_integrations_v1alpha_upload_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/templates:upload', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_upload_template_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateResponse command.params['parent'] = parent unless parent.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc - # channel. + # Use the template to create integration. This api would keep track of + # usage_count and last_used_time. PERMISSION_DENIED would be thrown if template + # is not accessible by client. # @param [String] name - # Resource name of the SFDC channel projects/`project`/locations/`location`/ - # sfdcInstances/`sfdc_instance`/sfdcChannels/`sfdc_channel`. - # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] google_cloud_integrations_v1alpha_sfdc_channel_object - # @param [String] update_mask - # Field mask specifying the fields in the above SfdcChannel that have been - # modified and need to be updated. + # Required. The name that is associated with the Template. + # @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest] google_cloud_integrations_v1alpha_use_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4032,22 +4942,21 @@ def list_project_location_sfdc_instance_sfdc_channels(parent, filter: nil, page_ # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] parsed result object + # @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel] + # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_project_location_sfdc_instance_sfdc_channel(name, google_cloud_integrations_v1alpha_sfdc_channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/{+name}', options) - command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation - command.request_object = google_cloud_integrations_v1alpha_sfdc_channel_object - command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel::Representation - command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSfdcChannel + def use_project_location_template(name, google_cloud_integrations_v1alpha_use_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:use', options) + command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequest::Representation + command.request_object = google_cloud_integrations_v1alpha_use_template_request_object + command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse::Representation + command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateResponse command.params['name'] = name unless name.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)