google-apis-integrations_v1 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -461,6 +461,37 @@ module Google
461
461
  end
462
462
  end
463
463
 
464
+ # Cloud Logging details, selected by the user for the integration version (
465
+ # workflow). This message field will be also used in ExecutionInfo, to indicate
466
+ # the CloudLoggingDetails config at the time of workflow (integration version)
467
+ # execution, since this field value can be changed for an unpublished workflow.
468
+ class EnterpriseCrmEventbusProtoCloudLoggingDetails
469
+ include Google::Apis::Core::Hashable
470
+
471
+ # Severity selected by the customer for the logs to be sent to Cloud Logging,
472
+ # for the integration version getting executed.
473
+ # Corresponds to the JSON property `cloudLoggingSeverity`
474
+ # @return [String]
475
+ attr_accessor :cloud_logging_severity
476
+
477
+ # Status of whether Cloud Logging is enabled or not for the integration version
478
+ # getting executed.
479
+ # Corresponds to the JSON property `enableCloudLogging`
480
+ # @return [Boolean]
481
+ attr_accessor :enable_cloud_logging
482
+ alias_method :enable_cloud_logging?, :enable_cloud_logging
483
+
484
+ def initialize(**args)
485
+ update!(**args)
486
+ end
487
+
488
+ # Update properties of this object
489
+ def update!(**args)
490
+ @cloud_logging_severity = args[:cloud_logging_severity] if args.key?(:cloud_logging_severity)
491
+ @enable_cloud_logging = args[:enable_cloud_logging] if args.key?(:enable_cloud_logging)
492
+ end
493
+ end
494
+
464
495
  # Cloud Scheduler Trigger configuration
465
496
  class EnterpriseCrmEventbusProtoCloudSchedulerConfig
466
497
  include Google::Apis::Core::Hashable
@@ -588,6 +619,33 @@ module Google
588
619
  end
589
620
  end
590
621
 
622
+ #
623
+ class EnterpriseCrmEventbusProtoConditionalFailurePolicies
624
+ include Google::Apis::Core::Hashable
625
+
626
+ # Policy that defines the task retry logic and failure type. If no FailurePolicy
627
+ # is defined for a task, all its dependent tasks will not be executed (i.e, a `
628
+ # retry_strategy` of NONE will be applied).
629
+ # Corresponds to the JSON property `defaultFailurePolicy`
630
+ # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy]
631
+ attr_accessor :default_failure_policy
632
+
633
+ # The list of failure policies that will be applied to the task in order.
634
+ # Corresponds to the JSON property `failurePolicies`
635
+ # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoFailurePolicy>]
636
+ attr_accessor :failure_policies
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @default_failure_policy = args[:default_failure_policy] if args.key?(:default_failure_policy)
645
+ @failure_policies = args[:failure_policies] if args.key?(:failure_policies)
646
+ end
647
+ end
648
+
591
649
  #
592
650
  class EnterpriseCrmEventbusProtoConnectorsConnection
593
651
  include Google::Apis::Core::Hashable
@@ -604,6 +662,11 @@ module Google
604
662
  # @return [String]
605
663
  attr_accessor :connector_version
606
664
 
665
+ # The name of the Hostname of the Service Directory service with TLS if used.
666
+ # Corresponds to the JSON property `host`
667
+ # @return [String]
668
+ attr_accessor :host
669
+
607
670
  # Service name Format: projects/`project`/locations/`location`/namespaces/`
608
671
  # namespace`/services/`service`
609
672
  # Corresponds to the JSON property `serviceName`
@@ -618,6 +681,7 @@ module Google
618
681
  def update!(**args)
619
682
  @connection_name = args[:connection_name] if args.key?(:connection_name)
620
683
  @connector_version = args[:connector_version] if args.key?(:connector_version)
684
+ @host = args[:host] if args.key?(:host)
621
685
  @service_name = args[:service_name] if args.key?(:service_name)
622
686
  end
623
687
  end
@@ -836,10 +900,16 @@ module Google
836
900
 
837
901
  # Contains the details of the execution info of this event: this includes the
838
902
  # tasks execution details plus the event execution statistics. Next available id:
839
- # 11
903
+ # 12
840
904
  class EnterpriseCrmEventbusProtoEventExecutionDetails
841
905
  include Google::Apis::Core::Hashable
842
906
 
907
+ # If the execution is manually canceled, this field will contain the reason for
908
+ # cancellation.
909
+ # Corresponds to the JSON property `cancelReason`
910
+ # @return [String]
911
+ attr_accessor :cancel_reason
912
+
843
913
  #
844
914
  # Corresponds to the JSON property `eventAttemptStats`
845
915
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats>]
@@ -894,6 +964,7 @@ module Google
894
964
 
895
965
  # Update properties of this object
896
966
  def update!(**args)
967
+ @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
897
968
  @event_attempt_stats = args[:event_attempt_stats] if args.key?(:event_attempt_stats)
898
969
  @event_execution_snapshot = args[:event_execution_snapshot] if args.key?(:event_execution_snapshot)
899
970
  @event_execution_snapshots_size = args[:event_execution_snapshots_size] if args.key?(:event_execution_snapshots_size)
@@ -933,7 +1004,7 @@ module Google
933
1004
  end
934
1005
 
935
1006
  # Contains the snapshot of the event execution for a given checkpoint. Next
936
- # available id: 13
1007
+ # available id: 15
937
1008
  class EnterpriseCrmEventbusProtoEventExecutionSnapshot
938
1009
  include Google::Apis::Core::Hashable
939
1010
 
@@ -943,6 +1014,11 @@ module Google
943
1014
  # @return [String]
944
1015
  attr_accessor :checkpoint_task_number
945
1016
 
1017
+ # Client that the execution snapshot is associated to.
1018
+ # Corresponds to the JSON property `clientId`
1019
+ # @return [String]
1020
+ attr_accessor :client_id
1021
+
946
1022
  # All of the computed conditions that been calculated.
947
1023
  # Corresponds to the JSON property `conditionResults`
948
1024
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionResult>]
@@ -998,6 +1074,11 @@ module Google
998
1074
  # @return [String]
999
1075
  attr_accessor :task_name
1000
1076
 
1077
+ # Name of the workflow this event execution snapshot belongs to.
1078
+ # Corresponds to the JSON property `workflowName`
1079
+ # @return [String]
1080
+ attr_accessor :workflow_name
1081
+
1001
1082
  def initialize(**args)
1002
1083
  update!(**args)
1003
1084
  end
@@ -1005,6 +1086,7 @@ module Google
1005
1086
  # Update properties of this object
1006
1087
  def update!(**args)
1007
1088
  @checkpoint_task_number = args[:checkpoint_task_number] if args.key?(:checkpoint_task_number)
1089
+ @client_id = args[:client_id] if args.key?(:client_id)
1008
1090
  @condition_results = args[:condition_results] if args.key?(:condition_results)
1009
1091
  @diff_params = args[:diff_params] if args.key?(:diff_params)
1010
1092
  @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id)
@@ -1015,6 +1097,7 @@ module Google
1015
1097
  @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
1016
1098
  @task_execution_details = args[:task_execution_details] if args.key?(:task_execution_details)
1017
1099
  @task_name = args[:task_name] if args.key?(:task_name)
1100
+ @workflow_name = args[:workflow_name] if args.key?(:workflow_name)
1018
1101
  end
1019
1102
  end
1020
1103
 
@@ -1134,6 +1217,13 @@ module Google
1134
1217
  class EnterpriseCrmEventbusProtoExternalTraffic
1135
1218
  include Google::Apis::Core::Hashable
1136
1219
 
1220
+ # Indicates the client enables internal IP feature, this is applicable for
1221
+ # internal clients only.
1222
+ # Corresponds to the JSON property `enableInternalIp`
1223
+ # @return [Boolean]
1224
+ attr_accessor :enable_internal_ip
1225
+ alias_method :enable_internal_ip?, :enable_internal_ip
1226
+
1137
1227
  # User’s GCP project id the traffic is referring to.
1138
1228
  # Corresponds to the JSON property `gcpProjectId`
1139
1229
  # @return [String]
@@ -1149,9 +1239,13 @@ module Google
1149
1239
  # @return [String]
1150
1240
  attr_accessor :location
1151
1241
 
1152
- # LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:
1153
- # product, //depot/google3/java/com/google/enterprise/crm/integrationplatform/
1154
- # api/utils/ConverterUtils.java:source_to_product)
1242
+ # Enqueue the execution request due to quota issue
1243
+ # Corresponds to the JSON property `retryRequestForQuota`
1244
+ # @return [Boolean]
1245
+ attr_accessor :retry_request_for_quota
1246
+ alias_method :retry_request_for_quota?, :retry_request_for_quota
1247
+
1248
+ #
1155
1249
  # Corresponds to the JSON property `source`
1156
1250
  # @return [String]
1157
1251
  attr_accessor :source
@@ -1162,9 +1256,11 @@ module Google
1162
1256
 
1163
1257
  # Update properties of this object
1164
1258
  def update!(**args)
1259
+ @enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
1165
1260
  @gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id)
1166
1261
  @gcp_project_number = args[:gcp_project_number] if args.key?(:gcp_project_number)
1167
1262
  @location = args[:location] if args.key?(:location)
1263
+ @retry_request_for_quota = args[:retry_request_for_quota] if args.key?(:retry_request_for_quota)
1168
1264
  @source = args[:source] if args.key?(:source)
1169
1265
  end
1170
1266
  end
@@ -1188,6 +1284,12 @@ module Google
1188
1284
  # @return [Fixnum]
1189
1285
  attr_accessor :max_num_retries
1190
1286
 
1287
+ # Optional. The retry condition that will be evaluated for this failure policy
1288
+ # with the corresponding retry strategy.
1289
+ # Corresponds to the JSON property `retryCondition`
1290
+ # @return [String]
1291
+ attr_accessor :retry_condition
1292
+
1191
1293
  # Defines what happens to the task upon failure.
1192
1294
  # Corresponds to the JSON property `retryStrategy`
1193
1295
  # @return [String]
@@ -1201,6 +1303,7 @@ module Google
1201
1303
  def update!(**args)
1202
1304
  @interval_in_seconds = args[:interval_in_seconds] if args.key?(:interval_in_seconds)
1203
1305
  @max_num_retries = args[:max_num_retries] if args.key?(:max_num_retries)
1306
+ @retry_condition = args[:retry_condition] if args.key?(:retry_condition)
1204
1307
  @retry_strategy = args[:retry_strategy] if args.key?(:retry_strategy)
1205
1308
  end
1206
1309
  end
@@ -1354,8 +1457,7 @@ module Google
1354
1457
  # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoIntFunction]
1355
1458
  attr_accessor :int_function
1356
1459
 
1357
- # LINT.ThenChange(//depot/google3/alkali/apps/integrationplatform/client/
1358
- # workflow_editor/utils/transform_function.ts)
1460
+ #
1359
1461
  # Corresponds to the JSON property `jsonFunction`
1360
1462
  # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoJsonFunction]
1361
1463
  attr_accessor :json_function
@@ -1508,15 +1610,6 @@ module Google
1508
1610
  # @return [String]
1509
1611
  attr_accessor :log_field_name
1510
1612
 
1511
- # Identifies whether a field contains, or may contain, PII or sensitive data,
1512
- # and how to sanitize the field if it does. If a field's privacy type cannot be
1513
- # determined then it is sanitized (e.g., scrubbed). The specific sanitizer
1514
- # implementation is determined by run-time configuration and environment options
1515
- # (e.g., prod vs. qa). next_id: 5
1516
- # Corresponds to the JSON property `sanitizeOptions`
1517
- # @return [Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsSanitizeOptions]
1518
- attr_accessor :sanitize_options
1519
-
1520
1613
  #
1521
1614
  # Corresponds to the JSON property `seedPeriod`
1522
1615
  # @return [String]
@@ -1527,12 +1620,6 @@ module Google
1527
1620
  # @return [String]
1528
1621
  attr_accessor :seed_scope
1529
1622
 
1530
- # Describes string and array limits when writing to logs. When a limit is
1531
- # exceeded the *shortener_type* describes how to shorten the field. next_id: 6
1532
- # Corresponds to the JSON property `shorteningLimits`
1533
- # @return [Google::Apis::IntegrationsV1::EnterpriseCrmLoggingGwsFieldLimits]
1534
- attr_accessor :shortening_limits
1535
-
1536
1623
  def initialize(**args)
1537
1624
  update!(**args)
1538
1625
  end
@@ -1540,10 +1627,8 @@ module Google
1540
1627
  # Update properties of this object
1541
1628
  def update!(**args)
1542
1629
  @log_field_name = args[:log_field_name] if args.key?(:log_field_name)
1543
- @sanitize_options = args[:sanitize_options] if args.key?(:sanitize_options)
1544
1630
  @seed_period = args[:seed_period] if args.key?(:seed_period)
1545
1631
  @seed_scope = args[:seed_scope] if args.key?(:seed_scope)
1546
- @shortening_limits = args[:shortening_limits] if args.key?(:shortening_limits)
1547
1632
  end
1548
1633
  end
1549
1634
 
@@ -3569,10 +3654,16 @@ module Google
3569
3654
 
3570
3655
  # Contains the details of the execution info of this event: this includes the
3571
3656
  # tasks execution details plus the event execution statistics. Next available id:
3572
- # 11
3657
+ # 12
3573
3658
  class EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails
3574
3659
  include Google::Apis::Core::Hashable
3575
3660
 
3661
+ # If the execution is manually canceled, this field will contain the reason for
3662
+ # cancellation.
3663
+ # Corresponds to the JSON property `cancelReason`
3664
+ # @return [String]
3665
+ attr_accessor :cancel_reason
3666
+
3576
3667
  #
3577
3668
  # Corresponds to the JSON property `eventAttemptStats`
3578
3669
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats>]
@@ -3628,6 +3719,7 @@ module Google
3628
3719
 
3629
3720
  # Update properties of this object
3630
3721
  def update!(**args)
3722
+ @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
3631
3723
  @event_attempt_stats = args[:event_attempt_stats] if args.key?(:event_attempt_stats)
3632
3724
  @event_execution_snapshot = args[:event_execution_snapshot] if args.key?(:event_execution_snapshot)
3633
3725
  @event_execution_snapshots_size = args[:event_execution_snapshots_size] if args.key?(:event_execution_snapshots_size)
@@ -3641,7 +3733,7 @@ module Google
3641
3733
  end
3642
3734
 
3643
3735
  # Contains all the execution details for a workflow instance. Next available id:
3644
- # 24
3736
+ # 27
3645
3737
  class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo
3646
3738
  include Google::Apis::Core::Hashable
3647
3739
 
@@ -3650,6 +3742,14 @@ module Google
3650
3742
  # @return [String]
3651
3743
  attr_accessor :client_id
3652
3744
 
3745
+ # Cloud Logging details, selected by the user for the integration version (
3746
+ # workflow). This message field will be also used in ExecutionInfo, to indicate
3747
+ # the CloudLoggingDetails config at the time of workflow (integration version)
3748
+ # execution, since this field value can be changed for an unpublished workflow.
3749
+ # Corresponds to the JSON property `cloudLoggingDetails`
3750
+ # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudLoggingDetails]
3751
+ attr_accessor :cloud_logging_details
3752
+
3653
3753
  # Auto-generated.
3654
3754
  # Corresponds to the JSON property `createTime`
3655
3755
  # @return [Fixnum]
@@ -3669,7 +3769,7 @@ module Google
3669
3769
 
3670
3770
  # Contains the details of the execution info of this event: this includes the
3671
3771
  # tasks execution details plus the event execution statistics. Next available id:
3672
- # 11
3772
+ # 12
3673
3773
  # Corresponds to the JSON property `eventExecutionDetails`
3674
3774
  # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails]
3675
3775
  attr_accessor :event_execution_details
@@ -3685,6 +3785,11 @@ module Google
3685
3785
  # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExecutionTraceInfo]
3686
3786
  attr_accessor :execution_trace_info
3687
3787
 
3788
+ # User-defined label that annotates the executed integration version.
3789
+ # Corresponds to the JSON property `integrationVersionUserLabel`
3790
+ # @return [String]
3791
+ attr_accessor :integration_version_user_label
3792
+
3688
3793
  # Auto-generated.
3689
3794
  # Corresponds to the JSON property `lastModifiedTime`
3690
3795
  # @return [Fixnum]
@@ -3701,6 +3806,12 @@ module Google
3701
3806
  # @return [String]
3702
3807
  attr_accessor :product
3703
3808
 
3809
+ # Contains the details of the execution info: this includes the replay reason
3810
+ # and replay tree connecting executions in a parent-child relationship
3811
+ # Corresponds to the JSON property `replayInfo`
3812
+ # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo]
3813
+ attr_accessor :replay_info
3814
+
3704
3815
  # Optional. This is used to de-dup incoming request.
3705
3816
  # Corresponds to the JSON property `requestId`
3706
3817
  # @return [String]
@@ -3761,15 +3872,18 @@ module Google
3761
3872
  # Update properties of this object
3762
3873
  def update!(**args)
3763
3874
  @client_id = args[:client_id] if args.key?(:client_id)
3875
+ @cloud_logging_details = args[:cloud_logging_details] if args.key?(:cloud_logging_details)
3764
3876
  @create_time = args[:create_time] if args.key?(:create_time)
3765
3877
  @error_code = args[:error_code] if args.key?(:error_code)
3766
3878
  @errors = args[:errors] if args.key?(:errors)
3767
3879
  @event_execution_details = args[:event_execution_details] if args.key?(:event_execution_details)
3768
3880
  @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id)
3769
3881
  @execution_trace_info = args[:execution_trace_info] if args.key?(:execution_trace_info)
3882
+ @integration_version_user_label = args[:integration_version_user_label] if args.key?(:integration_version_user_label)
3770
3883
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
3771
3884
  @post_method = args[:post_method] if args.key?(:post_method)
3772
3885
  @product = args[:product] if args.key?(:product)
3886
+ @replay_info = args[:replay_info] if args.key?(:replay_info)
3773
3887
  @request_id = args[:request_id] if args.key?(:request_id)
3774
3888
  @request_params = args[:request_params] if args.key?(:request_params)
3775
3889
  @response_params = args[:response_params] if args.key?(:response_params)
@@ -3782,6 +3896,46 @@ module Google
3782
3896
  end
3783
3897
  end
3784
3898
 
3899
+ # Contains the details of the execution info: this includes the replay reason
3900
+ # and replay tree connecting executions in a parent-child relationship
3901
+ class EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo
3902
+ include Google::Apis::Core::Hashable
3903
+
3904
+ # If this execution is a replay of another execution, then this field contains
3905
+ # the original execution id.
3906
+ # Corresponds to the JSON property `originalExecutionInfoId`
3907
+ # @return [String]
3908
+ attr_accessor :original_execution_info_id
3909
+
3910
+ # Replay mode for the execution
3911
+ # Corresponds to the JSON property `replayMode`
3912
+ # @return [String]
3913
+ attr_accessor :replay_mode
3914
+
3915
+ # reason for replay
3916
+ # Corresponds to the JSON property `replayReason`
3917
+ # @return [String]
3918
+ attr_accessor :replay_reason
3919
+
3920
+ # If this execution has been replayed, then this field contains the execution
3921
+ # ids of the replayed executions.
3922
+ # Corresponds to the JSON property `replayedExecutionInfoIds`
3923
+ # @return [Array<String>]
3924
+ attr_accessor :replayed_execution_info_ids
3925
+
3926
+ def initialize(**args)
3927
+ update!(**args)
3928
+ end
3929
+
3930
+ # Update properties of this object
3931
+ def update!(**args)
3932
+ @original_execution_info_id = args[:original_execution_info_id] if args.key?(:original_execution_info_id)
3933
+ @replay_mode = args[:replay_mode] if args.key?(:replay_mode)
3934
+ @replay_reason = args[:replay_reason] if args.key?(:replay_reason)
3935
+ @replayed_execution_info_ids = args[:replayed_execution_info_ids] if args.key?(:replayed_execution_info_ids)
3936
+ end
3937
+ end
3938
+
3785
3939
  #
3786
3940
  class EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot
3787
3941
  include Google::Apis::Core::Hashable
@@ -4330,6 +4484,13 @@ module Google
4330
4484
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskAlertConfig>]
4331
4485
  attr_accessor :alert_configs
4332
4486
 
4487
+ # Optional. Determines the number of times the task will be retried on failure
4488
+ # and with what retry strategy. This is applicable for synchronous calls to
4489
+ # Eventbus alone (Post).
4490
+ # Corresponds to the JSON property `conditionalFailurePolicies`
4491
+ # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConditionalFailurePolicies]
4492
+ attr_accessor :conditional_failure_policies
4493
+
4333
4494
  # Auto-generated.
4334
4495
  # Corresponds to the JSON property `createTime`
4335
4496
  # @return [String]
@@ -4495,6 +4656,7 @@ module Google
4495
4656
  # Update properties of this object
4496
4657
  def update!(**args)
4497
4658
  @alert_configs = args[:alert_configs] if args.key?(:alert_configs)
4659
+ @conditional_failure_policies = args[:conditional_failure_policies] if args.key?(:conditional_failure_policies)
4498
4660
  @create_time = args[:create_time] if args.key?(:create_time)
4499
4661
  @creator_email = args[:creator_email] if args.key?(:creator_email)
4500
4662
  @description = args[:description] if args.key?(:description)
@@ -4578,7 +4740,7 @@ module Google
4578
4740
  end
4579
4741
  end
4580
4742
 
4581
- # Configuration detail of a trigger. Next available id: 20
4743
+ # Configuration detail of a trigger. Next available id: 22
4582
4744
  class EnterpriseCrmFrontendsEventbusProtoTriggerConfig
4583
4745
  include Google::Apis::Core::Hashable
4584
4746
 
@@ -4616,6 +4778,11 @@ module Google
4616
4778
  # @return [String]
4617
4779
  attr_accessor :error_catcher_id
4618
4780
 
4781
+ # Variables names mapped to api trigger.
4782
+ # Corresponds to the JSON property `inputVariables`
4783
+ # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables]
4784
+ attr_accessor :input_variables
4785
+
4619
4786
  # The user created label for a particular trigger.
4620
4787
  # Corresponds to the JSON property `label`
4621
4788
  # @return [String]
@@ -4626,6 +4793,11 @@ module Google
4626
4793
  # @return [String]
4627
4794
  attr_accessor :next_tasks_execution_policy
4628
4795
 
4796
+ # Variables names mapped to api trigger.
4797
+ # Corresponds to the JSON property `outputVariables`
4798
+ # @return [Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables]
4799
+ attr_accessor :output_variables
4800
+
4629
4801
  # Optional. If set to true, any upcoming requests for this trigger config will
4630
4802
  # be paused and the executions will be resumed later when the flag is reset. The
4631
4803
  # workflow to which this trigger config belongs has to be in ACTIVE status for
@@ -4696,8 +4868,10 @@ module Google
4696
4868
  @description = args[:description] if args.key?(:description)
4697
4869
  @enabled_clients = args[:enabled_clients] if args.key?(:enabled_clients)
4698
4870
  @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
4871
+ @input_variables = args[:input_variables] if args.key?(:input_variables)
4699
4872
  @label = args[:label] if args.key?(:label)
4700
4873
  @next_tasks_execution_policy = args[:next_tasks_execution_policy] if args.key?(:next_tasks_execution_policy)
4874
+ @output_variables = args[:output_variables] if args.key?(:output_variables)
4701
4875
  @pause_workflow_executions = args[:pause_workflow_executions] if args.key?(:pause_workflow_executions)
4702
4876
  @position = args[:position] if args.key?(:position)
4703
4877
  @properties = args[:properties] if args.key?(:properties)
@@ -4710,6 +4884,25 @@ module Google
4710
4884
  end
4711
4885
  end
4712
4886
 
4887
+ # Variables names mapped to api trigger.
4888
+ class EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables
4889
+ include Google::Apis::Core::Hashable
4890
+
4891
+ # Optional. List of variable names.
4892
+ # Corresponds to the JSON property `names`
4893
+ # @return [Array<String>]
4894
+ attr_accessor :names
4895
+
4896
+ def initialize(**args)
4897
+ update!(**args)
4898
+ end
4899
+
4900
+ # Update properties of this object
4901
+ def update!(**args)
4902
+ @names = args[:names] if args.key?(:names)
4903
+ end
4904
+ end
4905
+
4713
4906
  #
4714
4907
  class EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
4715
4908
  include Google::Apis::Core::Hashable
@@ -4857,95 +5050,6 @@ module Google
4857
5050
  end
4858
5051
  end
4859
5052
 
4860
- # Describes string and array limits when writing to logs. When a limit is
4861
- # exceeded the *shortener_type* describes how to shorten the field. next_id: 6
4862
- class EnterpriseCrmLoggingGwsFieldLimits
4863
- include Google::Apis::Core::Hashable
4864
-
4865
- #
4866
- # Corresponds to the JSON property `logAction`
4867
- # @return [String]
4868
- attr_accessor :log_action
4869
-
4870
- # To which type(s) of logs the limits apply.
4871
- # Corresponds to the JSON property `logType`
4872
- # @return [Array<String>]
4873
- attr_accessor :log_type
4874
-
4875
- # maximum array size. If the array exceds this size, the field (list) is
4876
- # truncated.
4877
- # Corresponds to the JSON property `maxArraySize`
4878
- # @return [Fixnum]
4879
- attr_accessor :max_array_size
4880
-
4881
- # maximum string length. If the field exceeds this amount the field is shortened.
4882
- # Corresponds to the JSON property `maxStringLength`
4883
- # @return [Fixnum]
4884
- attr_accessor :max_string_length
4885
-
4886
- #
4887
- # Corresponds to the JSON property `shortenerType`
4888
- # @return [String]
4889
- attr_accessor :shortener_type
4890
-
4891
- def initialize(**args)
4892
- update!(**args)
4893
- end
4894
-
4895
- # Update properties of this object
4896
- def update!(**args)
4897
- @log_action = args[:log_action] if args.key?(:log_action)
4898
- @log_type = args[:log_type] if args.key?(:log_type)
4899
- @max_array_size = args[:max_array_size] if args.key?(:max_array_size)
4900
- @max_string_length = args[:max_string_length] if args.key?(:max_string_length)
4901
- @shortener_type = args[:shortener_type] if args.key?(:shortener_type)
4902
- end
4903
- end
4904
-
4905
- # Identifies whether a field contains, or may contain, PII or sensitive data,
4906
- # and how to sanitize the field if it does. If a field's privacy type cannot be
4907
- # determined then it is sanitized (e.g., scrubbed). The specific sanitizer
4908
- # implementation is determined by run-time configuration and environment options
4909
- # (e.g., prod vs. qa). next_id: 5
4910
- class EnterpriseCrmLoggingGwsSanitizeOptions
4911
- include Google::Apis::Core::Hashable
4912
-
4913
- # If true, the value has already been sanitized and needs no further
4914
- # sanitization. For instance, a D3 customer id is already an obfuscated entity
4915
- # and *might not* need further sanitization.
4916
- # Corresponds to the JSON property `isAlreadySanitized`
4917
- # @return [Boolean]
4918
- attr_accessor :is_already_sanitized
4919
- alias_method :is_already_sanitized?, :is_already_sanitized
4920
-
4921
- # To which type(s) of logs the sanitize options apply.
4922
- # Corresponds to the JSON property `logType`
4923
- # @return [Array<String>]
4924
- attr_accessor :log_type
4925
-
4926
- #
4927
- # Corresponds to the JSON property `privacy`
4928
- # @return [String]
4929
- attr_accessor :privacy
4930
-
4931
- #
4932
- # Corresponds to the JSON property `sanitizeType`
4933
- # @return [String]
4934
- attr_accessor :sanitize_type
4935
-
4936
- def initialize(**args)
4937
- update!(**args)
4938
- end
4939
-
4940
- # Update properties of this object
4941
- def update!(**args)
4942
- @is_already_sanitized = args[:is_already_sanitized] if args.key?(:is_already_sanitized)
4943
- @log_type = args[:log_type] if args.key?(:log_type)
4944
- @privacy = args[:privacy] if args.key?(:privacy)
4945
- @sanitize_type = args[:sanitize_type] if args.key?(:sanitize_type)
4946
- end
4947
- end
4948
-
4949
5053
  # AuthConfig defines details of a authentication type.
4950
5054
  class GoogleCloudConnectorsV1AuthConfig
4951
5055
  include Google::Apis::Core::Hashable
@@ -4971,6 +5075,13 @@ module Google
4971
5075
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow]
4972
5076
  attr_accessor :oauth2_auth_code_flow
4973
5077
 
5078
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
5079
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
5080
+ # for more details.
5081
+ # Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged`
5082
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged]
5083
+ attr_accessor :oauth2_auth_code_flow_google_managed
5084
+
4974
5085
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
4975
5086
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
4976
5087
  # Corresponds to the JSON property `oauth2ClientCredentials`
@@ -5004,6 +5115,7 @@ module Google
5004
5115
  @auth_key = args[:auth_key] if args.key?(:auth_key)
5005
5116
  @auth_type = args[:auth_type] if args.key?(:auth_type)
5006
5117
  @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
5118
+ @oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
5007
5119
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
5008
5120
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
5009
5121
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
@@ -5074,6 +5186,40 @@ module Google
5074
5186
  end
5075
5187
  end
5076
5188
 
5189
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
5190
+ # Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
5191
+ # for more details.
5192
+ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged
5193
+ include Google::Apis::Core::Hashable
5194
+
5195
+ # Optional. Authorization code to be exchanged for access and refresh tokens.
5196
+ # Corresponds to the JSON property `authCode`
5197
+ # @return [String]
5198
+ attr_accessor :auth_code
5199
+
5200
+ # Optional. Redirect URI to be provided during the auth code exchange.
5201
+ # Corresponds to the JSON property `redirectUri`
5202
+ # @return [String]
5203
+ attr_accessor :redirect_uri
5204
+
5205
+ # Required. Scopes the connection will request when the user performs the auth
5206
+ # code flow.
5207
+ # Corresponds to the JSON property `scopes`
5208
+ # @return [Array<String>]
5209
+ attr_accessor :scopes
5210
+
5211
+ def initialize(**args)
5212
+ update!(**args)
5213
+ end
5214
+
5215
+ # Update properties of this object
5216
+ def update!(**args)
5217
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
5218
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
5219
+ @scopes = args[:scopes] if args.key?(:scopes)
5220
+ end
5221
+ end
5222
+
5077
5223
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
5078
5224
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
5079
5225
  class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
@@ -5294,11 +5440,27 @@ module Google
5294
5440
  class GoogleCloudConnectorsV1Connection
5295
5441
  include Google::Apis::Core::Hashable
5296
5442
 
5443
+ # Optional. Async operations enabled for the connection. If Async Operations is
5444
+ # enabled, Connection allows the customers to initiate async long running
5445
+ # operations using the actions API.
5446
+ # Corresponds to the JSON property `asyncOperationsEnabled`
5447
+ # @return [Boolean]
5448
+ attr_accessor :async_operations_enabled
5449
+ alias_method :async_operations_enabled?, :async_operations_enabled
5450
+
5297
5451
  # AuthConfig defines details of a authentication type.
5298
5452
  # Corresponds to the JSON property `authConfig`
5299
5453
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig]
5300
5454
  attr_accessor :auth_config
5301
5455
 
5456
+ # Optional. Auth override enabled for the connection. If Auth Override is
5457
+ # enabled, Connection allows the backend service auth to be overridden in the
5458
+ # entities/actions API.
5459
+ # Corresponds to the JSON property `authOverrideEnabled`
5460
+ # @return [Boolean]
5461
+ attr_accessor :auth_override_enabled
5462
+ alias_method :auth_override_enabled?, :auth_override_enabled
5463
+
5302
5464
  # Billing config for the connection.
5303
5465
  # Corresponds to the JSON property `billingConfig`
5304
5466
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1BillingConfig]
@@ -5371,6 +5533,12 @@ module Google
5371
5533
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeData]
5372
5534
  attr_accessor :eventing_runtime_data
5373
5535
 
5536
+ # Output only. The name of the Hostname of the Service Directory service with
5537
+ # TLS.
5538
+ # Corresponds to the JSON property `host`
5539
+ # @return [String]
5540
+ attr_accessor :host
5541
+
5374
5542
  # Output only. GCR location where the runtime image is stored. formatted like:
5375
5543
  # gcr.io/`bucketName`/`imageName`
5376
5544
  # Corresponds to the JSON property `imageLocation`
@@ -5448,6 +5616,11 @@ module Google
5448
5616
  attr_accessor :suspended
5449
5617
  alias_method :suspended?, :suspended
5450
5618
 
5619
+ # Output only. The name of the Service Directory service with TLS.
5620
+ # Corresponds to the JSON property `tlsServiceDirectory`
5621
+ # @return [String]
5622
+ attr_accessor :tls_service_directory
5623
+
5451
5624
  # Output only. Updated time.
5452
5625
  # Corresponds to the JSON property `updateTime`
5453
5626
  # @return [String]
@@ -5459,7 +5632,9 @@ module Google
5459
5632
 
5460
5633
  # Update properties of this object
5461
5634
  def update!(**args)
5635
+ @async_operations_enabled = args[:async_operations_enabled] if args.key?(:async_operations_enabled)
5462
5636
  @auth_config = args[:auth_config] if args.key?(:auth_config)
5637
+ @auth_override_enabled = args[:auth_override_enabled] if args.key?(:auth_override_enabled)
5463
5638
  @billing_config = args[:billing_config] if args.key?(:billing_config)
5464
5639
  @config_variables = args[:config_variables] if args.key?(:config_variables)
5465
5640
  @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
@@ -5473,6 +5648,7 @@ module Google
5473
5648
  @eventing_config = args[:eventing_config] if args.key?(:eventing_config)
5474
5649
  @eventing_enablement_type = args[:eventing_enablement_type] if args.key?(:eventing_enablement_type)
5475
5650
  @eventing_runtime_data = args[:eventing_runtime_data] if args.key?(:eventing_runtime_data)
5651
+ @host = args[:host] if args.key?(:host)
5476
5652
  @image_location = args[:image_location] if args.key?(:image_location)
5477
5653
  @is_trusted_tester = args[:is_trusted_tester] if args.key?(:is_trusted_tester)
5478
5654
  @labels = args[:labels] if args.key?(:labels)
@@ -5486,6 +5662,7 @@ module Google
5486
5662
  @status = args[:status] if args.key?(:status)
5487
5663
  @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
5488
5664
  @suspended = args[:suspended] if args.key?(:suspended)
5665
+ @tls_service_directory = args[:tls_service_directory] if args.key?(:tls_service_directory)
5489
5666
  @update_time = args[:update_time] if args.key?(:update_time)
5490
5667
  end
5491
5668
  end
@@ -5531,11 +5708,16 @@ module Google
5531
5708
  # @return [Fixnum]
5532
5709
  attr_accessor :connection_ratelimit_window_seconds
5533
5710
 
5534
- # Optional. Indicates whether connector is deployed on GKE/CloudRun
5711
+ # Output only. Indicates whether connector is deployed on GKE/CloudRun
5535
5712
  # Corresponds to the JSON property `deploymentModel`
5536
5713
  # @return [String]
5537
5714
  attr_accessor :deployment_model
5538
5715
 
5716
+ # Output only. Status of the deployment model migration.
5717
+ # Corresponds to the JSON property `deploymentModelMigrationState`
5718
+ # @return [String]
5719
+ attr_accessor :deployment_model_migration_state
5720
+
5539
5721
  # Autoscaling config for connector deployment system metrics.
5540
5722
  # Corresponds to the JSON property `hpaConfig`
5541
5723
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1HpaConfig]
@@ -5546,6 +5728,11 @@ module Google
5546
5728
  # @return [Fixnum]
5547
5729
  attr_accessor :internalclient_ratelimit_threshold
5548
5730
 
5731
+ # Output only. Max instance request concurrency.
5732
+ # Corresponds to the JSON property `maxInstanceRequestConcurrency`
5733
+ # @return [Fixnum]
5734
+ attr_accessor :max_instance_request_concurrency
5735
+
5549
5736
  # Output only. Max QPS supported by the connector version before throttling of
5550
5737
  # requests.
5551
5738
  # Corresponds to the JSON property `ratelimitThreshold`
@@ -5567,6 +5754,11 @@ module Google
5567
5754
  # @return [String]
5568
5755
  attr_accessor :shared_deployment
5569
5756
 
5757
+ # Output only. Status of the TLS migration.
5758
+ # Corresponds to the JSON property `tlsMigrationState`
5759
+ # @return [String]
5760
+ attr_accessor :tls_migration_state
5761
+
5570
5762
  def initialize(**args)
5571
5763
  update!(**args)
5572
5764
  end
@@ -5575,12 +5767,15 @@ module Google
5575
5767
  def update!(**args)
5576
5768
  @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds)
5577
5769
  @deployment_model = args[:deployment_model] if args.key?(:deployment_model)
5770
+ @deployment_model_migration_state = args[:deployment_model_migration_state] if args.key?(:deployment_model_migration_state)
5578
5771
  @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
5579
5772
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
5773
+ @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
5580
5774
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
5581
5775
  @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
5582
5776
  @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
5583
5777
  @shared_deployment = args[:shared_deployment] if args.key?(:shared_deployment)
5778
+ @tls_migration_state = args[:tls_migration_state] if args.key?(:tls_migration_state)
5584
5779
  end
5585
5780
  end
5586
5781
 
@@ -5667,11 +5862,31 @@ module Google
5667
5862
  end
5668
5863
  end
5669
5864
 
5865
+ # Data enrichment configuration.
5866
+ class GoogleCloudConnectorsV1EnrichmentConfig
5867
+ include Google::Apis::Core::Hashable
5868
+
5869
+ # Optional. Append ACL to the event.
5870
+ # Corresponds to the JSON property `appendAcl`
5871
+ # @return [Boolean]
5872
+ attr_accessor :append_acl
5873
+ alias_method :append_acl?, :append_acl
5874
+
5875
+ def initialize(**args)
5876
+ update!(**args)
5877
+ end
5878
+
5879
+ # Update properties of this object
5880
+ def update!(**args)
5881
+ @append_acl = args[:append_acl] if args.key?(:append_acl)
5882
+ end
5883
+ end
5884
+
5670
5885
  # Eventing Configuration of a connection
5671
5886
  class GoogleCloudConnectorsV1EventingConfig
5672
5887
  include Google::Apis::Core::Hashable
5673
5888
 
5674
- # Additional eventing related field values
5889
+ # Optional. Additional eventing related field values
5675
5890
  # Corresponds to the JSON property `additionalVariables`
5676
5891
  # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>]
5677
5892
  attr_accessor :additional_variables
@@ -5686,7 +5901,12 @@ module Google
5686
5901
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingConfigDeadLetterConfig]
5687
5902
  attr_accessor :dead_letter_config
5688
5903
 
5689
- # Enrichment Enabled.
5904
+ # Data enrichment configuration.
5905
+ # Corresponds to the JSON property `enrichmentConfig`
5906
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EnrichmentConfig]
5907
+ attr_accessor :enrichment_config
5908
+
5909
+ # Optional. Enrichment Enabled.
5690
5910
  # Corresponds to the JSON property `enrichmentEnabled`
5691
5911
  # @return [Boolean]
5692
5912
  attr_accessor :enrichment_enabled
@@ -5728,6 +5948,7 @@ module Google
5728
5948
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
5729
5949
  @auth_config = args[:auth_config] if args.key?(:auth_config)
5730
5950
  @dead_letter_config = args[:dead_letter_config] if args.key?(:dead_letter_config)
5951
+ @enrichment_config = args[:enrichment_config] if args.key?(:enrichment_config)
5731
5952
  @enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
5732
5953
  @events_listener_ingress_endpoint = args[:events_listener_ingress_endpoint] if args.key?(:events_listener_ingress_endpoint)
5733
5954
  @listener_auth_config = args[:listener_auth_config] if args.key?(:listener_auth_config)
@@ -5790,6 +6011,11 @@ module Google
5790
6011
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData]
5791
6012
  attr_accessor :webhook_data
5792
6013
 
6014
+ # WebhookSubscriptions has details of webhook subscriptions.
6015
+ # Corresponds to the JSON property `webhookSubscriptions`
6016
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions]
6017
+ attr_accessor :webhook_subscriptions
6018
+
5793
6019
  def initialize(**args)
5794
6020
  update!(**args)
5795
6021
  end
@@ -5800,6 +6026,7 @@ module Google
5800
6026
  @events_listener_psc_sa = args[:events_listener_psc_sa] if args.key?(:events_listener_psc_sa)
5801
6027
  @status = args[:status] if args.key?(:status)
5802
6028
  @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
6029
+ @webhook_subscriptions = args[:webhook_subscriptions] if args.key?(:webhook_subscriptions)
5803
6030
  end
5804
6031
  end
5805
6032
 
@@ -5853,6 +6080,25 @@ module Google
5853
6080
  end
5854
6081
  end
5855
6082
 
6083
+ # WebhookSubscriptions has details of webhook subscriptions.
6084
+ class GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions
6085
+ include Google::Apis::Core::Hashable
6086
+
6087
+ # Output only. Webhook data.
6088
+ # Corresponds to the JSON property `webhookData`
6089
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData>]
6090
+ attr_accessor :webhook_data
6091
+
6092
+ def initialize(**args)
6093
+ update!(**args)
6094
+ end
6095
+
6096
+ # Update properties of this object
6097
+ def update!(**args)
6098
+ @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
6099
+ end
6100
+ end
6101
+
5856
6102
  # EventingStatus indicates the state of eventing.
5857
6103
  class GoogleCloudConnectorsV1EventingStatus
5858
6104
  include Google::Apis::Core::Hashable
@@ -5940,6 +6186,11 @@ module Google
5940
6186
  attr_accessor :enabled
5941
6187
  alias_method :enabled?, :enabled
5942
6188
 
6189
+ # Optional. Log configuration level.
6190
+ # Corresponds to the JSON property `level`
6191
+ # @return [String]
6192
+ attr_accessor :level
6193
+
5943
6194
  def initialize(**args)
5944
6195
  update!(**args)
5945
6196
  end
@@ -5947,6 +6198,7 @@ module Google
5947
6198
  # Update properties of this object
5948
6199
  def update!(**args)
5949
6200
  @enabled = args[:enabled] if args.key?(:enabled)
6201
+ @level = args[:level] if args.key?(:level)
5950
6202
  end
5951
6203
  end
5952
6204
 
@@ -6049,12 +6301,12 @@ module Google
6049
6301
  class GoogleCloudConnectorsV1SslConfig
6050
6302
  include Google::Apis::Core::Hashable
6051
6303
 
6052
- # Additional SSL related field values
6304
+ # Optional. Additional SSL related field values
6053
6305
  # Corresponds to the JSON property `additionalVariables`
6054
6306
  # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>]
6055
6307
  attr_accessor :additional_variables
6056
6308
 
6057
- # Type of Client Cert (PEM/JKS/.. etc.)
6309
+ # Optional. Type of Client Cert (PEM/JKS/.. etc.)
6058
6310
  # Corresponds to the JSON property `clientCertType`
6059
6311
  # @return [String]
6060
6312
  attr_accessor :client_cert_type
@@ -6079,22 +6331,22 @@ module Google
6079
6331
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret]
6080
6332
  attr_accessor :private_server_certificate
6081
6333
 
6082
- # Type of Server Cert (PEM/JKS/.. etc.)
6334
+ # Optional. Type of Server Cert (PEM/JKS/.. etc.)
6083
6335
  # Corresponds to the JSON property `serverCertType`
6084
6336
  # @return [String]
6085
6337
  attr_accessor :server_cert_type
6086
6338
 
6087
- # Trust Model of the SSL connection
6339
+ # Optional. Trust Model of the SSL connection
6088
6340
  # Corresponds to the JSON property `trustModel`
6089
6341
  # @return [String]
6090
6342
  attr_accessor :trust_model
6091
6343
 
6092
- # Controls the ssl type for the given connector version.
6344
+ # Optional. Controls the ssl type for the given connector version.
6093
6345
  # Corresponds to the JSON property `type`
6094
6346
  # @return [String]
6095
6347
  attr_accessor :type
6096
6348
 
6097
- # Bool for enabling SSL
6349
+ # Optional. Bool for enabling SSL
6098
6350
  # Corresponds to the JSON property `useSsl`
6099
6351
  # @return [Boolean]
6100
6352
  attr_accessor :use_ssl
@@ -6165,20 +6417,19 @@ module Google
6165
6417
  end
6166
6418
  end
6167
6419
 
6168
- # Status for the execution attempt.
6169
- class GoogleCloudIntegrationsV1alphaAttemptStats
6420
+ # List of API triggerID and their workflow resource name.
6421
+ class GoogleCloudIntegrationsV1alphaApiTriggerResource
6170
6422
  include Google::Apis::Core::Hashable
6171
6423
 
6172
- # The end time of the integration execution for current attempt.
6173
- # Corresponds to the JSON property `endTime`
6424
+ # Required. Integration where the API is published
6425
+ # Corresponds to the JSON property `integrationResource`
6174
6426
  # @return [String]
6175
- attr_accessor :end_time
6427
+ attr_accessor :integration_resource
6176
6428
 
6177
- # The start time of the integration execution for current attempt. This could be
6178
- # in the future if it's been scheduled.
6179
- # Corresponds to the JSON property `startTime`
6180
- # @return [String]
6181
- attr_accessor :start_time
6429
+ # Required. Trigger Id of the API trigger(s) in the integration
6430
+ # Corresponds to the JSON property `triggerId`
6431
+ # @return [Array<String>]
6432
+ attr_accessor :trigger_id
6182
6433
 
6183
6434
  def initialize(**args)
6184
6435
  update!(**args)
@@ -6186,24 +6437,134 @@ module Google
6186
6437
 
6187
6438
  # Update properties of this object
6188
6439
  def update!(**args)
6189
- @end_time = args[:end_time] if args.key?(:end_time)
6190
- @start_time = args[:start_time] if args.key?(:start_time)
6440
+ @integration_resource = args[:integration_resource] if args.key?(:integration_resource)
6441
+ @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
6191
6442
  end
6192
6443
  end
6193
6444
 
6194
- # The AuthConfig resource use to hold channels and connection config data.
6195
- class GoogleCloudIntegrationsV1alphaAuthConfig
6445
+ # An assertion which will check for a condition over task execution status or an
6446
+ # expression for task output variables
6447
+ class GoogleCloudIntegrationsV1alphaAssertion
6196
6448
  include Google::Apis::Core::Hashable
6197
6449
 
6198
- # Certificate id for client certificate
6199
- # Corresponds to the JSON property `certificateId`
6450
+ # Optional. The type of assertion to perform.
6451
+ # Corresponds to the JSON property `assertionStrategy`
6200
6452
  # @return [String]
6201
- attr_accessor :certificate_id
6453
+ attr_accessor :assertion_strategy
6202
6454
 
6203
- # Output only. The timestamp when the auth config is created.
6204
- # Corresponds to the JSON property `createTime`
6455
+ # Optional. Standard filter expression for ASSERT_CONDITION to succeed
6456
+ # Corresponds to the JSON property `condition`
6205
6457
  # @return [String]
6206
- attr_accessor :create_time
6458
+ attr_accessor :condition
6459
+
6460
+ # This message is used for processing and persisting (when applicable) key value
6461
+ # pair parameters for each event in the event bus. Next available id: 4
6462
+ # Corresponds to the JSON property `parameter`
6463
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter]
6464
+ attr_accessor :parameter
6465
+
6466
+ # Number of times given task should be retried in case of
6467
+ # ASSERT_FAILED_EXECUTION
6468
+ # Corresponds to the JSON property `retryCount`
6469
+ # @return [Fixnum]
6470
+ attr_accessor :retry_count
6471
+
6472
+ def initialize(**args)
6473
+ update!(**args)
6474
+ end
6475
+
6476
+ # Update properties of this object
6477
+ def update!(**args)
6478
+ @assertion_strategy = args[:assertion_strategy] if args.key?(:assertion_strategy)
6479
+ @condition = args[:condition] if args.key?(:condition)
6480
+ @parameter = args[:parameter] if args.key?(:parameter)
6481
+ @retry_count = args[:retry_count] if args.key?(:retry_count)
6482
+ end
6483
+ end
6484
+
6485
+ # The result of an assertion.
6486
+ class GoogleCloudIntegrationsV1alphaAssertionResult
6487
+ include Google::Apis::Core::Hashable
6488
+
6489
+ # An assertion which will check for a condition over task execution status or an
6490
+ # expression for task output variables
6491
+ # Corresponds to the JSON property `assertion`
6492
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion]
6493
+ attr_accessor :assertion
6494
+
6495
+ # Details of the assertion failure
6496
+ # Corresponds to the JSON property `failureMessage`
6497
+ # @return [String]
6498
+ attr_accessor :failure_message
6499
+
6500
+ # Status of assertion to signify if the assertion succeeded or failed
6501
+ # Corresponds to the JSON property `status`
6502
+ # @return [String]
6503
+ attr_accessor :status
6504
+
6505
+ # Task name of task where the assertion was run.
6506
+ # Corresponds to the JSON property `taskName`
6507
+ # @return [String]
6508
+ attr_accessor :task_name
6509
+
6510
+ # Task number of task where the assertion was run.
6511
+ # Corresponds to the JSON property `taskNumber`
6512
+ # @return [String]
6513
+ attr_accessor :task_number
6514
+
6515
+ def initialize(**args)
6516
+ update!(**args)
6517
+ end
6518
+
6519
+ # Update properties of this object
6520
+ def update!(**args)
6521
+ @assertion = args[:assertion] if args.key?(:assertion)
6522
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
6523
+ @status = args[:status] if args.key?(:status)
6524
+ @task_name = args[:task_name] if args.key?(:task_name)
6525
+ @task_number = args[:task_number] if args.key?(:task_number)
6526
+ end
6527
+ end
6528
+
6529
+ # Status for the execution attempt.
6530
+ class GoogleCloudIntegrationsV1alphaAttemptStats
6531
+ include Google::Apis::Core::Hashable
6532
+
6533
+ # The end time of the integration execution for current attempt.
6534
+ # Corresponds to the JSON property `endTime`
6535
+ # @return [String]
6536
+ attr_accessor :end_time
6537
+
6538
+ # The start time of the integration execution for current attempt. This could be
6539
+ # in the future if it's been scheduled.
6540
+ # Corresponds to the JSON property `startTime`
6541
+ # @return [String]
6542
+ attr_accessor :start_time
6543
+
6544
+ def initialize(**args)
6545
+ update!(**args)
6546
+ end
6547
+
6548
+ # Update properties of this object
6549
+ def update!(**args)
6550
+ @end_time = args[:end_time] if args.key?(:end_time)
6551
+ @start_time = args[:start_time] if args.key?(:start_time)
6552
+ end
6553
+ end
6554
+
6555
+ # The AuthConfig resource use to hold channels and connection config data.
6556
+ class GoogleCloudIntegrationsV1alphaAuthConfig
6557
+ include Google::Apis::Core::Hashable
6558
+
6559
+ # Certificate id for client certificate
6560
+ # Corresponds to the JSON property `certificateId`
6561
+ # @return [String]
6562
+ attr_accessor :certificate_id
6563
+
6564
+ # Output only. The timestamp when the auth config is created.
6565
+ # Corresponds to the JSON property `createTime`
6566
+ # @return [String]
6567
+ attr_accessor :create_time
6207
6568
 
6208
6569
  # The creator's email address. Generated based on the End User Credentials/LOAS
6209
6570
  # role of the user making the call.
@@ -6365,12 +6726,19 @@ module Google
6365
6726
  class GoogleCloudIntegrationsV1alphaCancelExecutionRequest
6366
6727
  include Google::Apis::Core::Hashable
6367
6728
 
6729
+ # Required. Reason for cancelling the execution. This is provided by the client
6730
+ # requesting the cancellation, and is not used by the Platform.
6731
+ # Corresponds to the JSON property `cancelReason`
6732
+ # @return [String]
6733
+ attr_accessor :cancel_reason
6734
+
6368
6735
  def initialize(**args)
6369
6736
  update!(**args)
6370
6737
  end
6371
6738
 
6372
6739
  # Update properties of this object
6373
6740
  def update!(**args)
6741
+ @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
6374
6742
  end
6375
6743
  end
6376
6744
 
@@ -6378,7 +6746,7 @@ module Google
6378
6746
  class GoogleCloudIntegrationsV1alphaCancelExecutionResponse
6379
6747
  include Google::Apis::Core::Hashable
6380
6748
 
6381
- # True if cancellation performed successfully
6749
+ # True if cancellation performed successfully.
6382
6750
  # Corresponds to the JSON property `isCanceled`
6383
6751
  # @return [Boolean]
6384
6752
  attr_accessor :is_canceled
@@ -6404,7 +6772,6 @@ module Google
6404
6772
  attr_accessor :certificate_status
6405
6773
 
6406
6774
  # Immutable. Credential id that will be used to register with trawler
6407
- # INTERNAL_ONLY
6408
6775
  # Corresponds to the JSON property `credentialId`
6409
6776
  # @return [String]
6410
6777
  attr_accessor :credential_id
@@ -6552,6 +6919,13 @@ module Google
6552
6919
  # @return [String]
6553
6920
  attr_accessor :description
6554
6921
 
6922
+ # Optional. Indicates the client enables internal IP feature, this is applicable
6923
+ # for internal clients only.
6924
+ # Corresponds to the JSON property `enableInternalIp`
6925
+ # @return [Boolean]
6926
+ attr_accessor :enable_internal_ip
6927
+ alias_method :enable_internal_ip?, :enable_internal_ip
6928
+
6555
6929
  # Optional. True if variable masking feature should be turned on for this region
6556
6930
  # Corresponds to the JSON property `enableVariableMasking`
6557
6931
  # @return [Boolean]
@@ -6602,6 +6976,7 @@ module Google
6602
6976
  @cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config)
6603
6977
  @create_time = args[:create_time] if args.key?(:create_time)
6604
6978
  @description = args[:description] if args.key?(:description)
6979
+ @enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
6605
6980
  @enable_variable_masking = args[:enable_variable_masking] if args.key?(:enable_variable_masking)
6606
6981
  @id = args[:id] if args.key?(:id)
6607
6982
  @is_gmek = args[:is_gmek] if args.key?(:is_gmek)
@@ -6733,6 +7108,33 @@ module Google
6733
7108
  end
6734
7109
  end
6735
7110
 
7111
+ # Conditional task failur retry strategies
7112
+ class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies
7113
+ include Google::Apis::Core::Hashable
7114
+
7115
+ # Policy that defines the task retry logic and failure type. If no FailurePolicy
7116
+ # is defined for a task, all its dependent tasks will not be executed (i.e, a `
7117
+ # retry_strategy` of NONE will be applied).
7118
+ # Corresponds to the JSON property `defaultFailurePolicy`
7119
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy]
7120
+ attr_accessor :default_failure_policy
7121
+
7122
+ # The list of failure policies that will be applied to the task in order.
7123
+ # Corresponds to the JSON property `failurePolicies`
7124
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy>]
7125
+ attr_accessor :failure_policies
7126
+
7127
+ def initialize(**args)
7128
+ update!(**args)
7129
+ end
7130
+
7131
+ # Update properties of this object
7132
+ def update!(**args)
7133
+ @default_failure_policy = args[:default_failure_policy] if args.key?(:default_failure_policy)
7134
+ @failure_policies = args[:failure_policies] if args.key?(:failure_policies)
7135
+ end
7136
+ end
7137
+
6736
7138
  # Metadata of runtime connection schema.
6737
7139
  class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata
6738
7140
  include Google::Apis::Core::Hashable
@@ -7053,6 +7455,44 @@ module Google
7053
7455
  end
7054
7456
  end
7055
7457
 
7458
+ # Response for DownloadTemplate.
7459
+ class GoogleCloudIntegrationsV1alphaDownloadTemplateResponse
7460
+ include Google::Apis::Core::Hashable
7461
+
7462
+ # String representation of the template.
7463
+ # Corresponds to the JSON property `content`
7464
+ # @return [String]
7465
+ attr_accessor :content
7466
+
7467
+ def initialize(**args)
7468
+ update!(**args)
7469
+ end
7470
+
7471
+ # Update properties of this object
7472
+ def update!(**args)
7473
+ @content = args[:content] if args.key?(:content)
7474
+ end
7475
+ end
7476
+
7477
+ # Response for DownloadTestCase.
7478
+ class GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse
7479
+ include Google::Apis::Core::Hashable
7480
+
7481
+ # String representation of the test case.
7482
+ # Corresponds to the JSON property `content`
7483
+ # @return [String]
7484
+ attr_accessor :content
7485
+
7486
+ def initialize(**args)
7487
+ update!(**args)
7488
+ end
7489
+
7490
+ # Update properties of this object
7491
+ def update!(**args)
7492
+ @content = args[:content] if args.key?(:content)
7493
+ end
7494
+ end
7495
+
7056
7496
  # Response containing all provisioned regions for Connector Platform.
7057
7497
  class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse
7058
7498
  include Google::Apis::Core::Hashable
@@ -7281,6 +7721,11 @@ module Google
7281
7721
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>]
7282
7722
  attr_accessor :parameter_entries
7283
7723
 
7724
+ # Optional. OUTPUT parameters from integration execution.
7725
+ # Corresponds to the JSON property `parameters`
7726
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
7727
+ attr_accessor :parameters
7728
+
7284
7729
  def initialize(**args)
7285
7730
  update!(**args)
7286
7731
  end
@@ -7292,6 +7737,97 @@ module Google
7292
7737
  @execution_id = args[:execution_id] if args.key?(:execution_id)
7293
7738
  @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
7294
7739
  @parameter_entries = args[:parameter_entries] if args.key?(:parameter_entries)
7740
+ @parameters = args[:parameters] if args.key?(:parameters)
7741
+ end
7742
+ end
7743
+
7744
+ # The request for executing a functional test.
7745
+ class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest
7746
+ include Google::Apis::Core::Hashable
7747
+
7748
+ # Optional. Input parameters used by test case execution.
7749
+ # Corresponds to the JSON property `inputParameters`
7750
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
7751
+ attr_accessor :input_parameters
7752
+
7753
+ def initialize(**args)
7754
+ update!(**args)
7755
+ end
7756
+
7757
+ # Update properties of this object
7758
+ def update!(**args)
7759
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
7760
+ end
7761
+ end
7762
+
7763
+ # The response for executing a functional test.
7764
+ class GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse
7765
+ include Google::Apis::Core::Hashable
7766
+
7767
+ # Results of each assertions ran during execution of test case.
7768
+ # Corresponds to the JSON property `assertionResults`
7769
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertionResult>]
7770
+ attr_accessor :assertion_results
7771
+
7772
+ # The id of the execution corresponding to this run of integration.
7773
+ # Corresponds to the JSON property `executionId`
7774
+ # @return [String]
7775
+ attr_accessor :execution_id
7776
+
7777
+ # OUTPUT parameters in format of Map. Where Key is the name of the parameter.
7778
+ # Note: Name of the system generated parameters are wrapped by backtick(`) to
7779
+ # distinguish them from the user defined parameters.
7780
+ # Corresponds to the JSON property `outputParameters`
7781
+ # @return [Hash<String,Object>]
7782
+ attr_accessor :output_parameters
7783
+
7784
+ # State of the test case execution
7785
+ # Corresponds to the JSON property `testExecutionState`
7786
+ # @return [String]
7787
+ attr_accessor :test_execution_state
7788
+
7789
+ def initialize(**args)
7790
+ update!(**args)
7791
+ end
7792
+
7793
+ # Update properties of this object
7794
+ def update!(**args)
7795
+ @assertion_results = args[:assertion_results] if args.key?(:assertion_results)
7796
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
7797
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
7798
+ @test_execution_state = args[:test_execution_state] if args.key?(:test_execution_state)
7799
+ end
7800
+ end
7801
+
7802
+ # Request for ExecuteTestCases.
7803
+ class GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest
7804
+ include Google::Apis::Core::Hashable
7805
+
7806
+ def initialize(**args)
7807
+ update!(**args)
7808
+ end
7809
+
7810
+ # Update properties of this object
7811
+ def update!(**args)
7812
+ end
7813
+ end
7814
+
7815
+ # Response for ExecuteTestCases.
7816
+ class GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse
7817
+ include Google::Apis::Core::Hashable
7818
+
7819
+ # Results of each execution of test cases in an integration version.
7820
+ # Corresponds to the JSON property `executeTestCaseResponses`
7821
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse>]
7822
+ attr_accessor :execute_test_case_responses
7823
+
7824
+ def initialize(**args)
7825
+ update!(**args)
7826
+ end
7827
+
7828
+ # Update properties of this object
7829
+ def update!(**args)
7830
+ @execute_test_case_responses = args[:execute_test_case_responses] if args.key?(:execute_test_case_responses)
7295
7831
  end
7296
7832
  end
7297
7833
 
@@ -7317,7 +7853,7 @@ module Google
7317
7853
 
7318
7854
  # Contains the details of the execution info of this event: this includes the
7319
7855
  # tasks execution details plus the event execution statistics. Next available id:
7320
- # 11
7856
+ # 12
7321
7857
  # Corresponds to the JSON property `eventExecutionDetails`
7322
7858
  # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetails]
7323
7859
  attr_accessor :event_execution_details
@@ -7343,6 +7879,12 @@ module Google
7343
7879
  # @return [String]
7344
7880
  attr_accessor :name
7345
7881
 
7882
+ # Contains the details of the execution info: this includes the replay reason
7883
+ # and replay tree connecting executions in a parent-child relationship
7884
+ # Corresponds to the JSON property `replayInfo`
7885
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionReplayInfo]
7886
+ attr_accessor :replay_info
7887
+
7346
7888
  # Event parameters come in as part of the request.
7347
7889
  # Corresponds to the JSON property `requestParameters`
7348
7890
  # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
@@ -7353,12 +7895,14 @@ module Google
7353
7895
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>]
7354
7896
  attr_accessor :request_params
7355
7897
 
7356
- # Event parameters returned as part of the response.
7898
+ # Event parameters returned as part of the response. In the case of error, the `
7899
+ # ErrorInfo` field is returned in the following format: ` "ErrorInfo": ` "
7900
+ # message": String, "code": Number ` `
7357
7901
  # Corresponds to the JSON property `responseParameters`
7358
7902
  # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
7359
7903
  attr_accessor :response_parameters
7360
7904
 
7361
- # Event parameters come out as part of the response.
7905
+ #
7362
7906
  # Corresponds to the JSON property `responseParams`
7363
7907
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>]
7364
7908
  attr_accessor :response_params
@@ -7395,6 +7939,7 @@ module Google
7395
7939
  @execution_method = args[:execution_method] if args.key?(:execution_method)
7396
7940
  @integration_version_state = args[:integration_version_state] if args.key?(:integration_version_state)
7397
7941
  @name = args[:name] if args.key?(:name)
7942
+ @replay_info = args[:replay_info] if args.key?(:replay_info)
7398
7943
  @request_parameters = args[:request_parameters] if args.key?(:request_parameters)
7399
7944
  @request_params = args[:request_params] if args.key?(:request_params)
7400
7945
  @response_parameters = args[:response_parameters] if args.key?(:response_parameters)
@@ -7443,6 +7988,46 @@ module Google
7443
7988
  end
7444
7989
  end
7445
7990
 
7991
+ # Contains the details of the execution info: this includes the replay reason
7992
+ # and replay tree connecting executions in a parent-child relationship
7993
+ class GoogleCloudIntegrationsV1alphaExecutionReplayInfo
7994
+ include Google::Apis::Core::Hashable
7995
+
7996
+ # If this execution is a replay of another execution, then this field contains
7997
+ # the original execution id.
7998
+ # Corresponds to the JSON property `originalExecutionInfoId`
7999
+ # @return [String]
8000
+ attr_accessor :original_execution_info_id
8001
+
8002
+ # Replay mode for the execution
8003
+ # Corresponds to the JSON property `replayMode`
8004
+ # @return [String]
8005
+ attr_accessor :replay_mode
8006
+
8007
+ # reason for replay
8008
+ # Corresponds to the JSON property `replayReason`
8009
+ # @return [String]
8010
+ attr_accessor :replay_reason
8011
+
8012
+ # If this execution has been replayed, then this field contains the execution
8013
+ # ids of the replayed executions.
8014
+ # Corresponds to the JSON property `replayedExecutionInfoIds`
8015
+ # @return [Array<String>]
8016
+ attr_accessor :replayed_execution_info_ids
8017
+
8018
+ def initialize(**args)
8019
+ update!(**args)
8020
+ end
8021
+
8022
+ # Update properties of this object
8023
+ def update!(**args)
8024
+ @original_execution_info_id = args[:original_execution_info_id] if args.key?(:original_execution_info_id)
8025
+ @replay_mode = args[:replay_mode] if args.key?(:replay_mode)
8026
+ @replay_reason = args[:replay_reason] if args.key?(:replay_reason)
8027
+ @replayed_execution_info_ids = args[:replayed_execution_info_ids] if args.key?(:replayed_execution_info_ids)
8028
+ end
8029
+ end
8030
+
7446
8031
  # Contains the snapshot of the execution for a given checkpoint.
7447
8032
  class GoogleCloudIntegrationsV1alphaExecutionSnapshot
7448
8033
  include Google::Apis::Core::Hashable
@@ -7549,6 +8134,12 @@ module Google
7549
8134
  class GoogleCloudIntegrationsV1alphaFailurePolicy
7550
8135
  include Google::Apis::Core::Hashable
7551
8136
 
8137
+ # Optional. The string condition that will be evaluated to determine if the task
8138
+ # should be retried with this failure policy.
8139
+ # Corresponds to the JSON property `condition`
8140
+ # @return [String]
8141
+ attr_accessor :condition
8142
+
7552
8143
  # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/
7553
8144
  # RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for
7554
8145
  # backoff.
@@ -7574,6 +8165,7 @@ module Google
7574
8165
 
7575
8166
  # Update properties of this object
7576
8167
  def update!(**args)
8168
+ @condition = args[:condition] if args.key?(:condition)
7577
8169
  @interval_time = args[:interval_time] if args.key?(:interval_time)
7578
8170
  @max_retries = args[:max_retries] if args.key?(:max_retries)
7579
8171
  @retry_strategy = args[:retry_strategy] if args.key?(:retry_strategy)
@@ -7612,14 +8204,19 @@ module Google
7612
8204
  end
7613
8205
  end
7614
8206
 
7615
- # Returns success or error message
7616
- class GoogleCloudIntegrationsV1alphaGenerateTokenResponse
8207
+ # Request for GenerateOpenApiSpec.
8208
+ class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
7617
8209
  include Google::Apis::Core::Hashable
7618
8210
 
7619
- # The message that notifies the user if the request succeeded or not.
7620
- # Corresponds to the JSON property `message`
8211
+ # Required. List of api triggers
8212
+ # Corresponds to the JSON property `apiTriggerResources`
8213
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource>]
8214
+ attr_accessor :api_trigger_resources
8215
+
8216
+ # Required. File format for generated spec.
8217
+ # Corresponds to the JSON property `fileFormat`
7621
8218
  # @return [String]
7622
- attr_accessor :message
8219
+ attr_accessor :file_format
7623
8220
 
7624
8221
  def initialize(**args)
7625
8222
  update!(**args)
@@ -7627,18 +8224,19 @@ module Google
7627
8224
 
7628
8225
  # Update properties of this object
7629
8226
  def update!(**args)
7630
- @message = args[:message] if args.key?(:message)
8227
+ @api_trigger_resources = args[:api_trigger_resources] if args.key?(:api_trigger_resources)
8228
+ @file_format = args[:file_format] if args.key?(:file_format)
7631
8229
  end
7632
8230
  end
7633
8231
 
7634
- # Response for the GetClientMetadata rpc
7635
- class GoogleCloudIntegrationsV1alphaGetClientMetadataResponse
8232
+ # Response of the GenerateOpenApiSpec API.
8233
+ class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse
7636
8234
  include Google::Apis::Core::Hashable
7637
8235
 
7638
- # Metadata information for the given project
7639
- # Corresponds to the JSON property `properties`
7640
- # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProjectProperties]
7641
- attr_accessor :properties
8236
+ # Open API spec as per the required format
8237
+ # Corresponds to the JSON property `openApiSpec`
8238
+ # @return [String]
8239
+ attr_accessor :open_api_spec
7642
8240
 
7643
8241
  def initialize(**args)
7644
8242
  update!(**args)
@@ -7646,11 +8244,49 @@ module Google
7646
8244
 
7647
8245
  # Update properties of this object
7648
8246
  def update!(**args)
7649
- @properties = args[:properties] if args.key?(:properties)
8247
+ @open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec)
7650
8248
  end
7651
8249
  end
7652
8250
 
7653
- # Response for the GetClient rpc
8251
+ # Returns success or error message
8252
+ class GoogleCloudIntegrationsV1alphaGenerateTokenResponse
8253
+ include Google::Apis::Core::Hashable
8254
+
8255
+ # The message that notifies the user if the request succeeded or not.
8256
+ # Corresponds to the JSON property `message`
8257
+ # @return [String]
8258
+ attr_accessor :message
8259
+
8260
+ def initialize(**args)
8261
+ update!(**args)
8262
+ end
8263
+
8264
+ # Update properties of this object
8265
+ def update!(**args)
8266
+ @message = args[:message] if args.key?(:message)
8267
+ end
8268
+ end
8269
+
8270
+ # Response for the GetClientMetadata rpc
8271
+ class GoogleCloudIntegrationsV1alphaGetClientMetadataResponse
8272
+ include Google::Apis::Core::Hashable
8273
+
8274
+ # Metadata information for the given project
8275
+ # Corresponds to the JSON property `properties`
8276
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProjectProperties]
8277
+ attr_accessor :properties
8278
+
8279
+ def initialize(**args)
8280
+ update!(**args)
8281
+ end
8282
+
8283
+ # Update properties of this object
8284
+ def update!(**args)
8285
+ @properties = args[:properties] if args.key?(:properties)
8286
+ end
8287
+ end
8288
+
8289
+ # Response for the GetClient rpc
7654
8290
  class GoogleCloudIntegrationsV1alphaGetClientResponse
7655
8291
  include Google::Apis::Core::Hashable
7656
8292
 
@@ -7669,6 +8305,57 @@ module Google
7669
8305
  end
7670
8306
  end
7671
8307
 
8308
+ # Request to Import template
8309
+ class GoogleCloudIntegrationsV1alphaImportTemplateRequest
8310
+ include Google::Apis::Core::Hashable
8311
+
8312
+ # Required. Resource Name of the integration where template needs to be imported/
8313
+ # inserted.
8314
+ # Corresponds to the JSON property `integration`
8315
+ # @return [String]
8316
+ attr_accessor :integration
8317
+
8318
+ # Optional. Sub Integration which would be created via templates.
8319
+ # Corresponds to the JSON property `subIntegrations`
8320
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails>]
8321
+ attr_accessor :sub_integrations
8322
+
8323
+ def initialize(**args)
8324
+ update!(**args)
8325
+ end
8326
+
8327
+ # Update properties of this object
8328
+ def update!(**args)
8329
+ @integration = args[:integration] if args.key?(:integration)
8330
+ @sub_integrations = args[:sub_integrations] if args.key?(:sub_integrations)
8331
+ end
8332
+ end
8333
+
8334
+ # Response for import template
8335
+ class GoogleCloudIntegrationsV1alphaImportTemplateResponse
8336
+ include Google::Apis::Core::Hashable
8337
+
8338
+ # The integration version definition.
8339
+ # Corresponds to the JSON property `integrationVersion`
8340
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
8341
+ attr_accessor :integration_version
8342
+
8343
+ # Sub integration versions which are imported.
8344
+ # Corresponds to the JSON property `subIntegrationVersions`
8345
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion>]
8346
+ attr_accessor :sub_integration_versions
8347
+
8348
+ def initialize(**args)
8349
+ update!(**args)
8350
+ end
8351
+
8352
+ # Update properties of this object
8353
+ def update!(**args)
8354
+ @integration_version = args[:integration_version] if args.key?(:integration_version)
8355
+ @sub_integration_versions = args[:sub_integration_versions] if args.key?(:sub_integration_versions)
8356
+ end
8357
+ end
8358
+
7672
8359
  # This message only contains a field of integer array.
7673
8360
  class GoogleCloudIntegrationsV1alphaIntParameterArray
7674
8361
  include Google::Apis::Core::Hashable
@@ -7922,6 +8609,11 @@ module Google
7922
8609
  # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType]
7923
8610
  attr_accessor :default_value
7924
8611
 
8612
+ # Optional. Description of the parameter.
8613
+ # Corresponds to the JSON property `description`
8614
+ # @return [String]
8615
+ attr_accessor :description
8616
+
7925
8617
  # The name (without prefix) to be displayed in the UI for this parameter. E.g.
7926
8618
  # if the key is "foo.bar.myName", then the name would be "myName".
7927
8619
  # Corresponds to the JSON property `displayName`
@@ -7979,6 +8671,7 @@ module Google
7979
8671
  @contains_large_data = args[:contains_large_data] if args.key?(:contains_large_data)
7980
8672
  @data_type = args[:data_type] if args.key?(:data_type)
7981
8673
  @default_value = args[:default_value] if args.key?(:default_value)
8674
+ @description = args[:description] if args.key?(:description)
7982
8675
  @display_name = args[:display_name] if args.key?(:display_name)
7983
8676
  @input_output_type = args[:input_output_type] if args.key?(:input_output_type)
7984
8677
  @is_transient = args[:is_transient] if args.key?(:is_transient)
@@ -8191,6 +8884,31 @@ module Google
8191
8884
  end
8192
8885
  end
8193
8886
 
8887
+ # Define the template of IntegrationVersion.
8888
+ class GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate
8889
+ include Google::Apis::Core::Hashable
8890
+
8891
+ # The integration version definition.
8892
+ # Corresponds to the JSON property `integrationVersion`
8893
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
8894
+ attr_accessor :integration_version
8895
+
8896
+ # Required. Unique Key of the IntegrationVersion.
8897
+ # Corresponds to the JSON property `key`
8898
+ # @return [String]
8899
+ attr_accessor :key
8900
+
8901
+ def initialize(**args)
8902
+ update!(**args)
8903
+ end
8904
+
8905
+ # Update properties of this object
8906
+ def update!(**args)
8907
+ @integration_version = args[:integration_version] if args.key?(:integration_version)
8908
+ @key = args[:key] if args.key?(:key)
8909
+ end
8910
+ end
8911
+
8194
8912
  # Represents JSON web token(JWT), which is a compact, URL-safe means of
8195
8913
  # representing claims to be transferred between two parties, enabling the claims
8196
8914
  # to be digitally signed or integrity protected.
@@ -8603,6 +9321,115 @@ module Google
8603
9321
  end
8604
9322
  end
8605
9323
 
9324
+ # Response for a request to list templates
9325
+ class GoogleCloudIntegrationsV1alphaListTemplatesResponse
9326
+ include Google::Apis::Core::Hashable
9327
+
9328
+ # The token used to retrieve the next page results.
9329
+ # Corresponds to the JSON property `nextPageToken`
9330
+ # @return [String]
9331
+ attr_accessor :next_page_token
9332
+
9333
+ # List of templates retrieved.
9334
+ # Corresponds to the JSON property `templates`
9335
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate>]
9336
+ attr_accessor :templates
9337
+
9338
+ def initialize(**args)
9339
+ update!(**args)
9340
+ end
9341
+
9342
+ # Update properties of this object
9343
+ def update!(**args)
9344
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9345
+ @templates = args[:templates] if args.key?(:templates)
9346
+ end
9347
+ end
9348
+
9349
+ # The response for listing the functional test execution data.
9350
+ class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse
9351
+ include Google::Apis::Core::Hashable
9352
+
9353
+ # The detailed information of requested executions
9354
+ # Corresponds to the JSON property `executions`
9355
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution>]
9356
+ attr_accessor :executions
9357
+
9358
+ # The token used to retrieve the next page results.
9359
+ # Corresponds to the JSON property `nextPageToken`
9360
+ # @return [String]
9361
+ attr_accessor :next_page_token
9362
+
9363
+ def initialize(**args)
9364
+ update!(**args)
9365
+ end
9366
+
9367
+ # Update properties of this object
9368
+ def update!(**args)
9369
+ @executions = args[:executions] if args.key?(:executions)
9370
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9371
+ end
9372
+ end
9373
+
9374
+ # Response for ListTestCases
9375
+ class GoogleCloudIntegrationsV1alphaListTestCasesResponse
9376
+ include Google::Apis::Core::Hashable
9377
+
9378
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
9379
+ # field is omitted, there are no subsequent pages.
9380
+ # Corresponds to the JSON property `nextPageToken`
9381
+ # @return [String]
9382
+ attr_accessor :next_page_token
9383
+
9384
+ # The test cases corresponding to the specified filter
9385
+ # Corresponds to the JSON property `testCases`
9386
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase>]
9387
+ attr_accessor :test_cases
9388
+
9389
+ def initialize(**args)
9390
+ update!(**args)
9391
+ end
9392
+
9393
+ # Update properties of this object
9394
+ def update!(**args)
9395
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9396
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
9397
+ end
9398
+ end
9399
+
9400
+ # The configuration for mocking of a task during test execution Next available
9401
+ # id: 4
9402
+ class GoogleCloudIntegrationsV1alphaMockConfig
9403
+ include Google::Apis::Core::Hashable
9404
+
9405
+ # Optional. Number of times the given task should fail for failure mock strategy
9406
+ # Corresponds to the JSON property `failedExecutions`
9407
+ # @return [Fixnum]
9408
+ attr_accessor :failed_executions
9409
+
9410
+ # Mockstrategy defines how the particular task should be mocked during test
9411
+ # execution
9412
+ # Corresponds to the JSON property `mockStrategy`
9413
+ # @return [String]
9414
+ attr_accessor :mock_strategy
9415
+
9416
+ # Optional. List of key-value pairs for specific mock strategy
9417
+ # Corresponds to the JSON property `parameters`
9418
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter>]
9419
+ attr_accessor :parameters
9420
+
9421
+ def initialize(**args)
9422
+ update!(**args)
9423
+ end
9424
+
9425
+ # Update properties of this object
9426
+ def update!(**args)
9427
+ @failed_executions = args[:failed_executions] if args.key?(:failed_executions)
9428
+ @mock_strategy = args[:mock_strategy] if args.key?(:mock_strategy)
9429
+ @parameters = args[:parameters] if args.key?(:parameters)
9430
+ end
9431
+ end
9432
+
8606
9433
  # The task that is next in line to be executed, if the condition specified
8607
9434
  # evaluated to true.
8608
9435
  class GoogleCloudIntegrationsV1alphaNextTask
@@ -9124,6 +9951,87 @@ module Google
9124
9951
  end
9125
9952
  end
9126
9953
 
9954
+ # Request for replaying an execution.
9955
+ class GoogleCloudIntegrationsV1alphaReplayExecutionRequest
9956
+ include Google::Apis::Core::Hashable
9957
+
9958
+ # Optional. The modified input parameters for replay. - Provide values for all
9959
+ # the fields in the 'update_mask'. Any field not present in the 'update_mask'
9960
+ # will be ignored and its value will be taken from the original execution. - If
9961
+ # the 'update_mask' is not specified, all the parameters from original execution
9962
+ # will be ignored and only the `modified_parameters` will be used.
9963
+ # Corresponds to the JSON property `modifiedParameters`
9964
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
9965
+ attr_accessor :modified_parameters
9966
+
9967
+ # Optional. The mode of the replay.
9968
+ # Corresponds to the JSON property `replayMode`
9969
+ # @return [String]
9970
+ attr_accessor :replay_mode
9971
+
9972
+ # Required. The user provided reason for replaying the execution.
9973
+ # Corresponds to the JSON property `replayReason`
9974
+ # @return [String]
9975
+ attr_accessor :replay_reason
9976
+
9977
+ # Optional. The list of parameters to be updated. - If the `update_mask` is not
9978
+ # specified, all the parameters from original execution will be ignored and only
9979
+ # the `modified_parameters` will be used. - It is an error to include a
9980
+ # parameter in `update_mask` but not in `modified_parameters`. - Updating nested
9981
+ # fields in a JSON parameter is not supported, please provide the complete JSON
9982
+ # in the `modified_parameters`.
9983
+ # Corresponds to the JSON property `updateMask`
9984
+ # @return [String]
9985
+ attr_accessor :update_mask
9986
+
9987
+ def initialize(**args)
9988
+ update!(**args)
9989
+ end
9990
+
9991
+ # Update properties of this object
9992
+ def update!(**args)
9993
+ @modified_parameters = args[:modified_parameters] if args.key?(:modified_parameters)
9994
+ @replay_mode = args[:replay_mode] if args.key?(:replay_mode)
9995
+ @replay_reason = args[:replay_reason] if args.key?(:replay_reason)
9996
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
9997
+ end
9998
+ end
9999
+
10000
+ # Response for replaying an execution.
10001
+ class GoogleCloudIntegrationsV1alphaReplayExecutionResponse
10002
+ include Google::Apis::Core::Hashable
10003
+
10004
+ # Next ID: 4 The id of the execution corresponding to this run of the
10005
+ # integration.
10006
+ # Corresponds to the JSON property `executionId`
10007
+ # @return [String]
10008
+ attr_accessor :execution_id
10009
+
10010
+ # OUTPUT parameters in format of Map. Where Key is the name of the parameter.
10011
+ # The parameters would only be present in case of synchrounous execution. Note:
10012
+ # Name of the system generated parameters are wrapped by backtick(`) to
10013
+ # distinguish them from the user defined parameters.
10014
+ # Corresponds to the JSON property `outputParameters`
10015
+ # @return [Hash<String,Object>]
10016
+ attr_accessor :output_parameters
10017
+
10018
+ # The execution id which is replayed.
10019
+ # Corresponds to the JSON property `replayedExecutionId`
10020
+ # @return [String]
10021
+ attr_accessor :replayed_execution_id
10022
+
10023
+ def initialize(**args)
10024
+ update!(**args)
10025
+ end
10026
+
10027
+ # Update properties of this object
10028
+ def update!(**args)
10029
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
10030
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
10031
+ @replayed_execution_id = args[:replayed_execution_id] if args.key?(:replayed_execution_id)
10032
+ end
10033
+ end
10034
+
9127
10035
  # Request for [Suspensions.ResolveSuspensions].
9128
10036
  class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
9129
10037
  include Google::Apis::Core::Hashable
@@ -9218,7 +10126,7 @@ module Google
9218
10126
  end
9219
10127
  end
9220
10128
 
9221
- # The request for scheduling an integration. Next available id: 11
10129
+ # The request for scheduling an integration.
9222
10130
  class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
9223
10131
  include Google::Apis::Core::Hashable
9224
10132
 
@@ -9301,6 +10209,31 @@ module Google
9301
10209
  end
9302
10210
  end
9303
10211
 
10212
+ # Response for a request to search templates
10213
+ class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse
10214
+ include Google::Apis::Core::Hashable
10215
+
10216
+ # The token used to retrieve the next page results.
10217
+ # Corresponds to the JSON property `nextPageToken`
10218
+ # @return [String]
10219
+ attr_accessor :next_page_token
10220
+
10221
+ # List of templates retrieved.
10222
+ # Corresponds to the JSON property `templates`
10223
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate>]
10224
+ attr_accessor :templates
10225
+
10226
+ def initialize(**args)
10227
+ update!(**args)
10228
+ end
10229
+
10230
+ # Update properties of this object
10231
+ def update!(**args)
10232
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10233
+ @templates = args[:templates] if args.key?(:templates)
10234
+ end
10235
+ end
10236
+
9304
10237
  # To store string representation of Integration file.
9305
10238
  class GoogleCloudIntegrationsV1alphaSerializedFile
9306
10239
  include Google::Apis::Core::Hashable
@@ -9492,14 +10425,16 @@ module Google
9492
10425
  end
9493
10426
  end
9494
10427
 
9495
- # This message only contains a field of string array.
9496
- class GoogleCloudIntegrationsV1alphaStringParameterArray
10428
+ # Request to Share template
10429
+ class GoogleCloudIntegrationsV1alphaShareTemplateRequest
9497
10430
  include Google::Apis::Core::Hashable
9498
10431
 
9499
- # String array.
9500
- # Corresponds to the JSON property `stringValues`
10432
+ # Optional. Project name resources to share the template. The project names is
10433
+ # expected in resource format Ex: projects/`project-number` or organization/`org-
10434
+ # id`
10435
+ # Corresponds to the JSON property `resourceNames`
9501
10436
  # @return [Array<String>]
9502
- attr_accessor :string_values
10437
+ attr_accessor :resource_names
9503
10438
 
9504
10439
  def initialize(**args)
9505
10440
  update!(**args)
@@ -9507,16 +10442,35 @@ module Google
9507
10442
 
9508
10443
  # Update properties of this object
9509
10444
  def update!(**args)
9510
- @string_values = args[:string_values] if args.key?(:string_values)
10445
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
9511
10446
  end
9512
10447
  end
9513
10448
 
9514
- # Policy that dictates the behavior for the task after it completes successfully.
9515
- class GoogleCloudIntegrationsV1alphaSuccessPolicy
10449
+ # This message only contains a field of string array.
10450
+ class GoogleCloudIntegrationsV1alphaStringParameterArray
9516
10451
  include Google::Apis::Core::Hashable
9517
10452
 
9518
- # State to which the execution snapshot status will be set if the task succeeds.
9519
- # Corresponds to the JSON property `finalState`
10453
+ # String array.
10454
+ # Corresponds to the JSON property `stringValues`
10455
+ # @return [Array<String>]
10456
+ attr_accessor :string_values
10457
+
10458
+ def initialize(**args)
10459
+ update!(**args)
10460
+ end
10461
+
10462
+ # Update properties of this object
10463
+ def update!(**args)
10464
+ @string_values = args[:string_values] if args.key?(:string_values)
10465
+ end
10466
+ end
10467
+
10468
+ # Policy that dictates the behavior for the task after it completes successfully.
10469
+ class GoogleCloudIntegrationsV1alphaSuccessPolicy
10470
+ include Google::Apis::Core::Hashable
10471
+
10472
+ # State to which the execution snapshot status will be set if the task succeeds.
10473
+ # Corresponds to the JSON property `finalState`
9520
10474
  # @return [String]
9521
10475
  attr_accessor :final_state
9522
10476
 
@@ -9767,11 +10721,29 @@ module Google
9767
10721
  end
9768
10722
  end
9769
10723
 
10724
+ # Request for TakeoverTestCaseEditLock.
10725
+ class GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest
10726
+ include Google::Apis::Core::Hashable
10727
+
10728
+ def initialize(**args)
10729
+ update!(**args)
10730
+ end
10731
+
10732
+ # Update properties of this object
10733
+ def update!(**args)
10734
+ end
10735
+ end
10736
+
9770
10737
  # The task configuration details. This is not the implementation of Task. There
9771
10738
  # might be multiple TaskConfigs for the same Task.
9772
10739
  class GoogleCloudIntegrationsV1alphaTaskConfig
9773
10740
  include Google::Apis::Core::Hashable
9774
10741
 
10742
+ # Conditional task failur retry strategies
10743
+ # Corresponds to the JSON property `conditionalFailurePolicies`
10744
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConditionalFailurePolicies]
10745
+ attr_accessor :conditional_failure_policies
10746
+
9775
10747
  # Optional. User-provided description intended to give additional business
9776
10748
  # context about the task.
9777
10749
  # Corresponds to the JSON property `description`
@@ -9872,6 +10844,7 @@ module Google
9872
10844
 
9873
10845
  # Update properties of this object
9874
10846
  def update!(**args)
10847
+ @conditional_failure_policies = args[:conditional_failure_policies] if args.key?(:conditional_failure_policies)
9875
10848
  @description = args[:description] if args.key?(:description)
9876
10849
  @display_name = args[:display_name] if args.key?(:display_name)
9877
10850
  @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
@@ -9922,6 +10895,274 @@ module Google
9922
10895
  end
9923
10896
  end
9924
10897
 
10898
+ # Defines the template for Application Integration
10899
+ class GoogleCloudIntegrationsV1alphaTemplate
10900
+ include Google::Apis::Core::Hashable
10901
+
10902
+ # Optional. Creator of the template.
10903
+ # Corresponds to the JSON property `author`
10904
+ # @return [String]
10905
+ attr_accessor :author
10906
+
10907
+ # Required. Categories associated with the Template. The categories listed below
10908
+ # will be utilized for the Template listing.
10909
+ # Corresponds to the JSON property `categories`
10910
+ # @return [Array<String>]
10911
+ attr_accessor :categories
10912
+
10913
+ # Optional. Components being used in the template. This could be used to
10914
+ # categorize and filter.
10915
+ # Corresponds to the JSON property `components`
10916
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent>]
10917
+ attr_accessor :components
10918
+
10919
+ # Output only. Auto-generated.
10920
+ # Corresponds to the JSON property `createTime`
10921
+ # @return [String]
10922
+ attr_accessor :create_time
10923
+
10924
+ # Optional. Description of the template. The length should not be more than 255
10925
+ # characters
10926
+ # Corresponds to the JSON property `description`
10927
+ # @return [String]
10928
+ attr_accessor :description
10929
+
10930
+ # Required. The name of the template
10931
+ # Corresponds to the JSON property `displayName`
10932
+ # @return [String]
10933
+ attr_accessor :display_name
10934
+
10935
+ # Optional. Link to template documentation.
10936
+ # Corresponds to the JSON property `docLink`
10937
+ # @return [String]
10938
+ attr_accessor :doc_link
10939
+
10940
+ # Optional. Time the template was last used.
10941
+ # Corresponds to the JSON property `lastUsedTime`
10942
+ # @return [String]
10943
+ attr_accessor :last_used_time
10944
+
10945
+ # Identifier. Resource name of the template.
10946
+ # Corresponds to the JSON property `name`
10947
+ # @return [String]
10948
+ attr_accessor :name
10949
+
10950
+ # Required. Resource names with which the template is shared for example
10951
+ # ProjectNumber/Ord id
10952
+ # Corresponds to the JSON property `sharedWith`
10953
+ # @return [Array<String>]
10954
+ attr_accessor :shared_with
10955
+
10956
+ # Required. Tags which are used to identify templates. These tags could be for
10957
+ # business use case, connectors etc.
10958
+ # Corresponds to the JSON property `tags`
10959
+ # @return [Array<String>]
10960
+ attr_accessor :tags
10961
+
10962
+ # Define the bundle of the template.
10963
+ # Corresponds to the JSON property `templateBundle`
10964
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle]
10965
+ attr_accessor :template_bundle
10966
+
10967
+ # Output only. Auto-generated
10968
+ # Corresponds to the JSON property `updateTime`
10969
+ # @return [String]
10970
+ attr_accessor :update_time
10971
+
10972
+ # Optional. Number of template usages.
10973
+ # Corresponds to the JSON property `usageCount`
10974
+ # @return [Fixnum]
10975
+ attr_accessor :usage_count
10976
+
10977
+ # Optional. Information on how to use the template. This should contain detailed
10978
+ # information about usage of the template.
10979
+ # Corresponds to the JSON property `usageInfo`
10980
+ # @return [String]
10981
+ attr_accessor :usage_info
10982
+
10983
+ # Required. Visibility of the template.
10984
+ # Corresponds to the JSON property `visibility`
10985
+ # @return [String]
10986
+ attr_accessor :visibility
10987
+
10988
+ def initialize(**args)
10989
+ update!(**args)
10990
+ end
10991
+
10992
+ # Update properties of this object
10993
+ def update!(**args)
10994
+ @author = args[:author] if args.key?(:author)
10995
+ @categories = args[:categories] if args.key?(:categories)
10996
+ @components = args[:components] if args.key?(:components)
10997
+ @create_time = args[:create_time] if args.key?(:create_time)
10998
+ @description = args[:description] if args.key?(:description)
10999
+ @display_name = args[:display_name] if args.key?(:display_name)
11000
+ @doc_link = args[:doc_link] if args.key?(:doc_link)
11001
+ @last_used_time = args[:last_used_time] if args.key?(:last_used_time)
11002
+ @name = args[:name] if args.key?(:name)
11003
+ @shared_with = args[:shared_with] if args.key?(:shared_with)
11004
+ @tags = args[:tags] if args.key?(:tags)
11005
+ @template_bundle = args[:template_bundle] if args.key?(:template_bundle)
11006
+ @update_time = args[:update_time] if args.key?(:update_time)
11007
+ @usage_count = args[:usage_count] if args.key?(:usage_count)
11008
+ @usage_info = args[:usage_info] if args.key?(:usage_info)
11009
+ @visibility = args[:visibility] if args.key?(:visibility)
11010
+ end
11011
+ end
11012
+
11013
+ # Define the bundle of the template.
11014
+ class GoogleCloudIntegrationsV1alphaTemplateBundle
11015
+ include Google::Apis::Core::Hashable
11016
+
11017
+ # Define the template of IntegrationVersion.
11018
+ # Corresponds to the JSON property `integrationVersionTemplate`
11019
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate]
11020
+ attr_accessor :integration_version_template
11021
+
11022
+ # Optional. Sub integration templates which would be added along with main
11023
+ # integration.
11024
+ # Corresponds to the JSON property `subIntegrationVersionTemplates`
11025
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate>]
11026
+ attr_accessor :sub_integration_version_templates
11027
+
11028
+ def initialize(**args)
11029
+ update!(**args)
11030
+ end
11031
+
11032
+ # Update properties of this object
11033
+ def update!(**args)
11034
+ @integration_version_template = args[:integration_version_template] if args.key?(:integration_version_template)
11035
+ @sub_integration_version_templates = args[:sub_integration_version_templates] if args.key?(:sub_integration_version_templates)
11036
+ end
11037
+ end
11038
+
11039
+ # Define the components that are present in a template.
11040
+ class GoogleCloudIntegrationsV1alphaTemplateComponent
11041
+ include Google::Apis::Core::Hashable
11042
+
11043
+ # Optional. Name of the component.
11044
+ # Corresponds to the JSON property `name`
11045
+ # @return [String]
11046
+ attr_accessor :name
11047
+
11048
+ # Optional. Type of the component.
11049
+ # Corresponds to the JSON property `type`
11050
+ # @return [String]
11051
+ attr_accessor :type
11052
+
11053
+ def initialize(**args)
11054
+ update!(**args)
11055
+ end
11056
+
11057
+ # Update properties of this object
11058
+ def update!(**args)
11059
+ @name = args[:name] if args.key?(:name)
11060
+ @type = args[:type] if args.key?(:type)
11061
+ end
11062
+ end
11063
+
11064
+ # Defines the functional test case for Application Integration. Next available
11065
+ # id: 15
11066
+ class GoogleCloudIntegrationsV1alphaTestCase
11067
+ include Google::Apis::Core::Hashable
11068
+
11069
+ # Auto-generated.
11070
+ # Corresponds to the JSON property `createTime`
11071
+ # @return [String]
11072
+ attr_accessor :create_time
11073
+
11074
+ # Optional. The creator's email address. Generated based on the End User
11075
+ # Credentials/LOAS role of the user making the call.
11076
+ # Corresponds to the JSON property `creatorEmail`
11077
+ # @return [String]
11078
+ attr_accessor :creator_email
11079
+
11080
+ # Optional. Various policies for how to persist the test execution info
11081
+ # including execution info, execution export info, execution metadata index and
11082
+ # execution param index..
11083
+ # Corresponds to the JSON property `databasePersistencePolicy`
11084
+ # @return [String]
11085
+ attr_accessor :database_persistence_policy
11086
+
11087
+ # Optional. Description of the test case.
11088
+ # Corresponds to the JSON property `description`
11089
+ # @return [String]
11090
+ attr_accessor :description
11091
+
11092
+ # Required. The display name of test case.
11093
+ # Corresponds to the JSON property `displayName`
11094
+ # @return [String]
11095
+ attr_accessor :display_name
11096
+
11097
+ # The last modifier's email address. Generated based on the End User Credentials/
11098
+ # LOAS role of the user making the call.
11099
+ # Corresponds to the JSON property `lastModifierEmail`
11100
+ # @return [String]
11101
+ attr_accessor :last_modifier_email
11102
+
11103
+ # Optional. The edit lock holder's email address. Generated based on the End
11104
+ # User Credentials/LOAS role of the user making the call.
11105
+ # Corresponds to the JSON property `lockHolderEmail`
11106
+ # @return [String]
11107
+ attr_accessor :lock_holder_email
11108
+
11109
+ # Output only. Auto-generated primary key.
11110
+ # Corresponds to the JSON property `name`
11111
+ # @return [String]
11112
+ attr_accessor :name
11113
+
11114
+ # Optional. Parameters that are expected to be passed to the test case when the
11115
+ # test case is triggered. This gives the user the ability to provide default
11116
+ # values. This should include all the output variables of the trigger as input
11117
+ # variables.
11118
+ # Corresponds to the JSON property `testInputParameters`
11119
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationParameter>]
11120
+ attr_accessor :test_input_parameters
11121
+
11122
+ # Optional. However, the test case doesn't mock or assert anything without
11123
+ # test_task_configs.
11124
+ # Corresponds to the JSON property `testTaskConfigs`
11125
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestTaskConfig>]
11126
+ attr_accessor :test_task_configs
11127
+
11128
+ # Configuration detail of a trigger.
11129
+ # Corresponds to the JSON property `triggerConfig`
11130
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig]
11131
+ attr_accessor :trigger_config
11132
+
11133
+ # Required. This defines the trigger ID in workflow which is considered to be
11134
+ # executed as starting point of the test case
11135
+ # Corresponds to the JSON property `triggerId`
11136
+ # @return [String]
11137
+ attr_accessor :trigger_id
11138
+
11139
+ # Auto-generated.
11140
+ # Corresponds to the JSON property `updateTime`
11141
+ # @return [String]
11142
+ attr_accessor :update_time
11143
+
11144
+ def initialize(**args)
11145
+ update!(**args)
11146
+ end
11147
+
11148
+ # Update properties of this object
11149
+ def update!(**args)
11150
+ @create_time = args[:create_time] if args.key?(:create_time)
11151
+ @creator_email = args[:creator_email] if args.key?(:creator_email)
11152
+ @database_persistence_policy = args[:database_persistence_policy] if args.key?(:database_persistence_policy)
11153
+ @description = args[:description] if args.key?(:description)
11154
+ @display_name = args[:display_name] if args.key?(:display_name)
11155
+ @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email)
11156
+ @lock_holder_email = args[:lock_holder_email] if args.key?(:lock_holder_email)
11157
+ @name = args[:name] if args.key?(:name)
11158
+ @test_input_parameters = args[:test_input_parameters] if args.key?(:test_input_parameters)
11159
+ @test_task_configs = args[:test_task_configs] if args.key?(:test_task_configs)
11160
+ @trigger_config = args[:trigger_config] if args.key?(:trigger_config)
11161
+ @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
11162
+ @update_time = args[:update_time] if args.key?(:update_time)
11163
+ end
11164
+ end
11165
+
9925
11166
  # The request for testing an integration.
9926
11167
  class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
9927
11168
  include Google::Apis::Core::Hashable
@@ -10041,6 +11282,56 @@ module Google
10041
11282
  end
10042
11283
  end
10043
11284
 
11285
+ # The task mock configuration details and assertions for functional tests. Next
11286
+ # available id: 6
11287
+ class GoogleCloudIntegrationsV1alphaTestTaskConfig
11288
+ include Google::Apis::Core::Hashable
11289
+
11290
+ # Optional. List of conditions or expressions which should be evaluated to true
11291
+ # unless there is a bug/problem in the integration. These are evaluated one the
11292
+ # task execution is completed as per the mock strategy in test case
11293
+ # Corresponds to the JSON property `assertions`
11294
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion>]
11295
+ attr_accessor :assertions
11296
+
11297
+ # The configuration for mocking of a task during test execution Next available
11298
+ # id: 4
11299
+ # Corresponds to the JSON property `mockConfig`
11300
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaMockConfig]
11301
+ attr_accessor :mock_config
11302
+
11303
+ # Required. This defines in the test case, the task name in integration which
11304
+ # will be mocked by this test task config
11305
+ # Corresponds to the JSON property `task`
11306
+ # @return [String]
11307
+ attr_accessor :task
11308
+
11309
+ # The task configuration details. This is not the implementation of Task. There
11310
+ # might be multiple TaskConfigs for the same Task.
11311
+ # Corresponds to the JSON property `taskConfig`
11312
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTaskConfig]
11313
+ attr_accessor :task_config
11314
+
11315
+ # Required. This defines in the test case, the task in integration which will be
11316
+ # mocked by this test task config
11317
+ # Corresponds to the JSON property `taskNumber`
11318
+ # @return [String]
11319
+ attr_accessor :task_number
11320
+
11321
+ def initialize(**args)
11322
+ update!(**args)
11323
+ end
11324
+
11325
+ # Update properties of this object
11326
+ def update!(**args)
11327
+ @assertions = args[:assertions] if args.key?(:assertions)
11328
+ @mock_config = args[:mock_config] if args.key?(:mock_config)
11329
+ @task = args[:task] if args.key?(:task)
11330
+ @task_config = args[:task_config] if args.key?(:task_config)
11331
+ @task_number = args[:task_number] if args.key?(:task_number)
11332
+ end
11333
+ end
11334
+
10044
11335
  # Configuration detail of a trigger.
10045
11336
  class GoogleCloudIntegrationsV1alphaTriggerConfig
10046
11337
  include Google::Apis::Core::Hashable
@@ -10071,6 +11362,11 @@ module Google
10071
11362
  # @return [String]
10072
11363
  attr_accessor :error_catcher_id
10073
11364
 
11365
+ # Variables names mapped to api trigger.
11366
+ # Corresponds to the JSON property `inputVariables`
11367
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables]
11368
+ attr_accessor :input_variables
11369
+
10074
11370
  # Optional. The user created label for a particular trigger.
10075
11371
  # Corresponds to the JSON property `label`
10076
11372
  # @return [String]
@@ -10081,6 +11377,11 @@ module Google
10081
11377
  # @return [String]
10082
11378
  attr_accessor :next_tasks_execution_policy
10083
11379
 
11380
+ # Variables names mapped to api trigger.
11381
+ # Corresponds to the JSON property `outputVariables`
11382
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables]
11383
+ attr_accessor :output_variables
11384
+
10084
11385
  # Configuration detail of coordinate, it used for UI
10085
11386
  # Corresponds to the JSON property `position`
10086
11387
  # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate]
@@ -10107,7 +11408,10 @@ module Google
10107
11408
  # @return [String]
10108
11409
  attr_accessor :trigger
10109
11410
 
10110
- # Optional. The backend trigger ID.
11411
+ # Optional. Auto-generated trigger ID. The ID is based on the properties that
11412
+ # you define in the trigger config. For example, for an API trigger, the trigger
11413
+ # ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has
11414
+ # properties with value `"Trigger name": TRIGGER_NAME`
10111
11415
  # Corresponds to the JSON property `triggerId`
10112
11416
  # @return [String]
10113
11417
  attr_accessor :trigger_id
@@ -10133,8 +11437,10 @@ module Google
10133
11437
  @cloud_scheduler_config = args[:cloud_scheduler_config] if args.key?(:cloud_scheduler_config)
10134
11438
  @description = args[:description] if args.key?(:description)
10135
11439
  @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
11440
+ @input_variables = args[:input_variables] if args.key?(:input_variables)
10136
11441
  @label = args[:label] if args.key?(:label)
10137
11442
  @next_tasks_execution_policy = args[:next_tasks_execution_policy] if args.key?(:next_tasks_execution_policy)
11443
+ @output_variables = args[:output_variables] if args.key?(:output_variables)
10138
11444
  @position = args[:position] if args.key?(:position)
10139
11445
  @properties = args[:properties] if args.key?(:properties)
10140
11446
  @start_tasks = args[:start_tasks] if args.key?(:start_tasks)
@@ -10145,6 +11451,25 @@ module Google
10145
11451
  end
10146
11452
  end
10147
11453
 
11454
+ # Variables names mapped to api trigger.
11455
+ class GoogleCloudIntegrationsV1alphaTriggerConfigVariables
11456
+ include Google::Apis::Core::Hashable
11457
+
11458
+ # Optional. List of variable names.
11459
+ # Corresponds to the JSON property `names`
11460
+ # @return [Array<String>]
11461
+ attr_accessor :names
11462
+
11463
+ def initialize(**args)
11464
+ update!(**args)
11465
+ end
11466
+
11467
+ # Update properties of this object
11468
+ def update!(**args)
11469
+ @names = args[:names] if args.key?(:names)
11470
+ end
11471
+ end
11472
+
10148
11473
  # Request for UnpublishIntegrationVersion.
10149
11474
  class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
10150
11475
  include Google::Apis::Core::Hashable
@@ -10158,11 +11483,31 @@ module Google
10158
11483
  end
10159
11484
  end
10160
11485
 
11486
+ # Request to Unshare template
11487
+ class GoogleCloudIntegrationsV1alphaUnshareTemplateRequest
11488
+ include Google::Apis::Core::Hashable
11489
+
11490
+ # Optional. Project name resources to unshare the template. The project names is
11491
+ # expected in resource format Ex: projects/`project-number`
11492
+ # Corresponds to the JSON property `resourceNames`
11493
+ # @return [Array<String>]
11494
+ attr_accessor :resource_names
11495
+
11496
+ def initialize(**args)
11497
+ update!(**args)
11498
+ end
11499
+
11500
+ # Update properties of this object
11501
+ def update!(**args)
11502
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
11503
+ end
11504
+ end
11505
+
10161
11506
  # Request for UploadIntegrationVersion.
10162
11507
  class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
10163
11508
  include Google::Apis::Core::Hashable
10164
11509
 
10165
- # The textproto of the integration_version.
11510
+ # The textproto of the IntegrationVersion.
10166
11511
  # Corresponds to the JSON property `content`
10167
11512
  # @return [String]
10168
11513
  attr_accessor :content
@@ -10202,6 +11547,177 @@ module Google
10202
11547
  end
10203
11548
  end
10204
11549
 
11550
+ # Request for UploadTemplate.
11551
+ class GoogleCloudIntegrationsV1alphaUploadTemplateRequest
11552
+ include Google::Apis::Core::Hashable
11553
+
11554
+ # Required. The textproto of the template.
11555
+ # Corresponds to the JSON property `content`
11556
+ # @return [String]
11557
+ attr_accessor :content
11558
+
11559
+ # Required. File format for upload request.
11560
+ # Corresponds to the JSON property `fileFormat`
11561
+ # @return [String]
11562
+ attr_accessor :file_format
11563
+
11564
+ def initialize(**args)
11565
+ update!(**args)
11566
+ end
11567
+
11568
+ # Update properties of this object
11569
+ def update!(**args)
11570
+ @content = args[:content] if args.key?(:content)
11571
+ @file_format = args[:file_format] if args.key?(:file_format)
11572
+ end
11573
+ end
11574
+
11575
+ # Response for UploadTemplate.
11576
+ class GoogleCloudIntegrationsV1alphaUploadTemplateResponse
11577
+ include Google::Apis::Core::Hashable
11578
+
11579
+ # Defines the template for Application Integration
11580
+ # Corresponds to the JSON property `template`
11581
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
11582
+ attr_accessor :template
11583
+
11584
+ def initialize(**args)
11585
+ update!(**args)
11586
+ end
11587
+
11588
+ # Update properties of this object
11589
+ def update!(**args)
11590
+ @template = args[:template] if args.key?(:template)
11591
+ end
11592
+ end
11593
+
11594
+ # Request for UploadTestCase.
11595
+ class GoogleCloudIntegrationsV1alphaUploadTestCaseRequest
11596
+ include Google::Apis::Core::Hashable
11597
+
11598
+ # The textproto of the test case.
11599
+ # Corresponds to the JSON property `content`
11600
+ # @return [String]
11601
+ attr_accessor :content
11602
+
11603
+ # File format for upload request.
11604
+ # Corresponds to the JSON property `fileFormat`
11605
+ # @return [String]
11606
+ attr_accessor :file_format
11607
+
11608
+ def initialize(**args)
11609
+ update!(**args)
11610
+ end
11611
+
11612
+ # Update properties of this object
11613
+ def update!(**args)
11614
+ @content = args[:content] if args.key?(:content)
11615
+ @file_format = args[:file_format] if args.key?(:file_format)
11616
+ end
11617
+ end
11618
+
11619
+ # Response for UploadTestCase.
11620
+ class GoogleCloudIntegrationsV1alphaUploadTestCaseResponse
11621
+ include Google::Apis::Core::Hashable
11622
+
11623
+ # Defines the functional test case for Application Integration. Next available
11624
+ # id: 15
11625
+ # Corresponds to the JSON property `testCase`
11626
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
11627
+ attr_accessor :test_case
11628
+
11629
+ def initialize(**args)
11630
+ update!(**args)
11631
+ end
11632
+
11633
+ # Update properties of this object
11634
+ def update!(**args)
11635
+ @test_case = args[:test_case] if args.key?(:test_case)
11636
+ end
11637
+ end
11638
+
11639
+ # Request to Use template
11640
+ class GoogleCloudIntegrationsV1alphaUseTemplateRequest
11641
+ include Google::Apis::Core::Hashable
11642
+
11643
+ # Sub Integration which would be created via templates.
11644
+ # Corresponds to the JSON property `integrationDetails`
11645
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails]
11646
+ attr_accessor :integration_details
11647
+
11648
+ # Required. The region of the Integration to be created.
11649
+ # Corresponds to the JSON property `integrationRegion`
11650
+ # @return [String]
11651
+ attr_accessor :integration_region
11652
+
11653
+ # Optional. Sub Integration which would be created via templates.
11654
+ # Corresponds to the JSON property `subIntegrations`
11655
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails>]
11656
+ attr_accessor :sub_integrations
11657
+
11658
+ def initialize(**args)
11659
+ update!(**args)
11660
+ end
11661
+
11662
+ # Update properties of this object
11663
+ def update!(**args)
11664
+ @integration_details = args[:integration_details] if args.key?(:integration_details)
11665
+ @integration_region = args[:integration_region] if args.key?(:integration_region)
11666
+ @sub_integrations = args[:sub_integrations] if args.key?(:sub_integrations)
11667
+ end
11668
+ end
11669
+
11670
+ # Sub Integration which would be created via templates.
11671
+ class GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails
11672
+ include Google::Apis::Core::Hashable
11673
+
11674
+ # Required. Name of the sub integration which would be created via templates.
11675
+ # Corresponds to the JSON property `integration`
11676
+ # @return [String]
11677
+ attr_accessor :integration
11678
+
11679
+ # Optional. Description of the sub integration which would be created via
11680
+ # templates.
11681
+ # Corresponds to the JSON property `integrationDescription`
11682
+ # @return [String]
11683
+ attr_accessor :integration_description
11684
+
11685
+ def initialize(**args)
11686
+ update!(**args)
11687
+ end
11688
+
11689
+ # Update properties of this object
11690
+ def update!(**args)
11691
+ @integration = args[:integration] if args.key?(:integration)
11692
+ @integration_description = args[:integration_description] if args.key?(:integration_description)
11693
+ end
11694
+ end
11695
+
11696
+ # Response for use template
11697
+ class GoogleCloudIntegrationsV1alphaUseTemplateResponse
11698
+ include Google::Apis::Core::Hashable
11699
+
11700
+ # The integration version definition.
11701
+ # Corresponds to the JSON property `integrationVersion`
11702
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
11703
+ attr_accessor :integration_version
11704
+
11705
+ # Sub integration versions which are created.
11706
+ # Corresponds to the JSON property `subIntegrationVersions`
11707
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion>]
11708
+ attr_accessor :sub_integration_versions
11709
+
11710
+ def initialize(**args)
11711
+ update!(**args)
11712
+ end
11713
+
11714
+ # Update properties of this object
11715
+ def update!(**args)
11716
+ @integration_version = args[:integration_version] if args.key?(:integration_version)
11717
+ @sub_integration_versions = args[:sub_integration_versions] if args.key?(:sub_integration_versions)
11718
+ end
11719
+ end
11720
+
10205
11721
  # Username and password pair.
10206
11722
  class GoogleCloudIntegrationsV1alphaUsernameAndPassword
10207
11723
  include Google::Apis::Core::Hashable