google-apis-integrations_v1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -5671,7 +5866,7 @@ module Google
5671
5866
  class GoogleCloudConnectorsV1EventingConfig
5672
5867
  include Google::Apis::Core::Hashable
5673
5868
 
5674
- # Additional eventing related field values
5869
+ # Optional. Additional eventing related field values
5675
5870
  # Corresponds to the JSON property `additionalVariables`
5676
5871
  # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>]
5677
5872
  attr_accessor :additional_variables
@@ -5686,7 +5881,7 @@ module Google
5686
5881
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingConfigDeadLetterConfig]
5687
5882
  attr_accessor :dead_letter_config
5688
5883
 
5689
- # Enrichment Enabled.
5884
+ # Optional. Enrichment Enabled.
5690
5885
  # Corresponds to the JSON property `enrichmentEnabled`
5691
5886
  # @return [Boolean]
5692
5887
  attr_accessor :enrichment_enabled
@@ -5790,6 +5985,11 @@ module Google
5790
5985
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData]
5791
5986
  attr_accessor :webhook_data
5792
5987
 
5988
+ # WebhookSubscriptions has details of webhook subscriptions.
5989
+ # Corresponds to the JSON property `webhookSubscriptions`
5990
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions]
5991
+ attr_accessor :webhook_subscriptions
5992
+
5793
5993
  def initialize(**args)
5794
5994
  update!(**args)
5795
5995
  end
@@ -5800,6 +6000,7 @@ module Google
5800
6000
  @events_listener_psc_sa = args[:events_listener_psc_sa] if args.key?(:events_listener_psc_sa)
5801
6001
  @status = args[:status] if args.key?(:status)
5802
6002
  @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
6003
+ @webhook_subscriptions = args[:webhook_subscriptions] if args.key?(:webhook_subscriptions)
5803
6004
  end
5804
6005
  end
5805
6006
 
@@ -5853,6 +6054,25 @@ module Google
5853
6054
  end
5854
6055
  end
5855
6056
 
6057
+ # WebhookSubscriptions has details of webhook subscriptions.
6058
+ class GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions
6059
+ include Google::Apis::Core::Hashable
6060
+
6061
+ # Output only. Webhook data.
6062
+ # Corresponds to the JSON property `webhookData`
6063
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData>]
6064
+ attr_accessor :webhook_data
6065
+
6066
+ def initialize(**args)
6067
+ update!(**args)
6068
+ end
6069
+
6070
+ # Update properties of this object
6071
+ def update!(**args)
6072
+ @webhook_data = args[:webhook_data] if args.key?(:webhook_data)
6073
+ end
6074
+ end
6075
+
5856
6076
  # EventingStatus indicates the state of eventing.
5857
6077
  class GoogleCloudConnectorsV1EventingStatus
5858
6078
  include Google::Apis::Core::Hashable
@@ -5940,6 +6160,11 @@ module Google
5940
6160
  attr_accessor :enabled
5941
6161
  alias_method :enabled?, :enabled
5942
6162
 
6163
+ # Optional. Log configuration level.
6164
+ # Corresponds to the JSON property `level`
6165
+ # @return [String]
6166
+ attr_accessor :level
6167
+
5943
6168
  def initialize(**args)
5944
6169
  update!(**args)
5945
6170
  end
@@ -5947,6 +6172,7 @@ module Google
5947
6172
  # Update properties of this object
5948
6173
  def update!(**args)
5949
6174
  @enabled = args[:enabled] if args.key?(:enabled)
6175
+ @level = args[:level] if args.key?(:level)
5950
6176
  end
5951
6177
  end
5952
6178
 
@@ -6049,12 +6275,12 @@ module Google
6049
6275
  class GoogleCloudConnectorsV1SslConfig
6050
6276
  include Google::Apis::Core::Hashable
6051
6277
 
6052
- # Additional SSL related field values
6278
+ # Optional. Additional SSL related field values
6053
6279
  # Corresponds to the JSON property `additionalVariables`
6054
6280
  # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>]
6055
6281
  attr_accessor :additional_variables
6056
6282
 
6057
- # Type of Client Cert (PEM/JKS/.. etc.)
6283
+ # Optional. Type of Client Cert (PEM/JKS/.. etc.)
6058
6284
  # Corresponds to the JSON property `clientCertType`
6059
6285
  # @return [String]
6060
6286
  attr_accessor :client_cert_type
@@ -6079,22 +6305,22 @@ module Google
6079
6305
  # @return [Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret]
6080
6306
  attr_accessor :private_server_certificate
6081
6307
 
6082
- # Type of Server Cert (PEM/JKS/.. etc.)
6308
+ # Optional. Type of Server Cert (PEM/JKS/.. etc.)
6083
6309
  # Corresponds to the JSON property `serverCertType`
6084
6310
  # @return [String]
6085
6311
  attr_accessor :server_cert_type
6086
6312
 
6087
- # Trust Model of the SSL connection
6313
+ # Optional. Trust Model of the SSL connection
6088
6314
  # Corresponds to the JSON property `trustModel`
6089
6315
  # @return [String]
6090
6316
  attr_accessor :trust_model
6091
6317
 
6092
- # Controls the ssl type for the given connector version.
6318
+ # Optional. Controls the ssl type for the given connector version.
6093
6319
  # Corresponds to the JSON property `type`
6094
6320
  # @return [String]
6095
6321
  attr_accessor :type
6096
6322
 
6097
- # Bool for enabling SSL
6323
+ # Optional. Bool for enabling SSL
6098
6324
  # Corresponds to the JSON property `useSsl`
6099
6325
  # @return [Boolean]
6100
6326
  attr_accessor :use_ssl
@@ -6165,20 +6391,19 @@ module Google
6165
6391
  end
6166
6392
  end
6167
6393
 
6168
- # Status for the execution attempt.
6169
- class GoogleCloudIntegrationsV1alphaAttemptStats
6394
+ # List of API triggerID and their workflow resource name.
6395
+ class GoogleCloudIntegrationsV1alphaApiTriggerResource
6170
6396
  include Google::Apis::Core::Hashable
6171
6397
 
6172
- # The end time of the integration execution for current attempt.
6173
- # Corresponds to the JSON property `endTime`
6398
+ # Required. Integration where the API is published
6399
+ # Corresponds to the JSON property `integrationResource`
6174
6400
  # @return [String]
6175
- attr_accessor :end_time
6401
+ attr_accessor :integration_resource
6176
6402
 
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
6403
+ # Required. Trigger Id of the API trigger(s) in the integration
6404
+ # Corresponds to the JSON property `triggerId`
6405
+ # @return [Array<String>]
6406
+ attr_accessor :trigger_id
6182
6407
 
6183
6408
  def initialize(**args)
6184
6409
  update!(**args)
@@ -6186,37 +6411,147 @@ module Google
6186
6411
 
6187
6412
  # Update properties of this object
6188
6413
  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)
6414
+ @integration_resource = args[:integration_resource] if args.key?(:integration_resource)
6415
+ @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
6191
6416
  end
6192
6417
  end
6193
6418
 
6194
- # The AuthConfig resource use to hold channels and connection config data.
6195
- class GoogleCloudIntegrationsV1alphaAuthConfig
6419
+ # An assertion which will check for a condition over task execution status or an
6420
+ # expression for task output variables
6421
+ class GoogleCloudIntegrationsV1alphaAssertion
6196
6422
  include Google::Apis::Core::Hashable
6197
6423
 
6198
- # Certificate id for client certificate
6199
- # Corresponds to the JSON property `certificateId`
6424
+ # Optional. The type of assertion to perform.
6425
+ # Corresponds to the JSON property `assertionStrategy`
6200
6426
  # @return [String]
6201
- attr_accessor :certificate_id
6427
+ attr_accessor :assertion_strategy
6202
6428
 
6203
- # Output only. The timestamp when the auth config is created.
6204
- # Corresponds to the JSON property `createTime`
6429
+ # Optional. Standard filter expression for ASSERT_CONDITION to succeed
6430
+ # Corresponds to the JSON property `condition`
6205
6431
  # @return [String]
6206
- attr_accessor :create_time
6432
+ attr_accessor :condition
6207
6433
 
6208
- # The creator's email address. Generated based on the End User Credentials/LOAS
6209
- # role of the user making the call.
6210
- # Corresponds to the JSON property `creatorEmail`
6211
- # @return [String]
6212
- attr_accessor :creator_email
6434
+ # This message is used for processing and persisting (when applicable) key value
6435
+ # pair parameters for each event in the event bus. Next available id: 4
6436
+ # Corresponds to the JSON property `parameter`
6437
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter]
6438
+ attr_accessor :parameter
6213
6439
 
6214
- # Credential type of the encrypted credential.
6215
- # Corresponds to the JSON property `credentialType`
6216
- # @return [String]
6217
- attr_accessor :credential_type
6440
+ # Number of times given task should be retried in case of
6441
+ # ASSERT_FAILED_EXECUTION
6442
+ # Corresponds to the JSON property `retryCount`
6443
+ # @return [Fixnum]
6444
+ attr_accessor :retry_count
6218
6445
 
6219
- # Defines parameters for a single, canonical credential.
6446
+ def initialize(**args)
6447
+ update!(**args)
6448
+ end
6449
+
6450
+ # Update properties of this object
6451
+ def update!(**args)
6452
+ @assertion_strategy = args[:assertion_strategy] if args.key?(:assertion_strategy)
6453
+ @condition = args[:condition] if args.key?(:condition)
6454
+ @parameter = args[:parameter] if args.key?(:parameter)
6455
+ @retry_count = args[:retry_count] if args.key?(:retry_count)
6456
+ end
6457
+ end
6458
+
6459
+ # The result of an assertion.
6460
+ class GoogleCloudIntegrationsV1alphaAssertionResult
6461
+ include Google::Apis::Core::Hashable
6462
+
6463
+ # An assertion which will check for a condition over task execution status or an
6464
+ # expression for task output variables
6465
+ # Corresponds to the JSON property `assertion`
6466
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion]
6467
+ attr_accessor :assertion
6468
+
6469
+ # Details of the assertion failure
6470
+ # Corresponds to the JSON property `failureMessage`
6471
+ # @return [String]
6472
+ attr_accessor :failure_message
6473
+
6474
+ # Status of assertion to signify if the assertion succeeded or failed
6475
+ # Corresponds to the JSON property `status`
6476
+ # @return [String]
6477
+ attr_accessor :status
6478
+
6479
+ # Task name of task where the assertion was run.
6480
+ # Corresponds to the JSON property `taskName`
6481
+ # @return [String]
6482
+ attr_accessor :task_name
6483
+
6484
+ # Task number of task where the assertion was run.
6485
+ # Corresponds to the JSON property `taskNumber`
6486
+ # @return [String]
6487
+ attr_accessor :task_number
6488
+
6489
+ def initialize(**args)
6490
+ update!(**args)
6491
+ end
6492
+
6493
+ # Update properties of this object
6494
+ def update!(**args)
6495
+ @assertion = args[:assertion] if args.key?(:assertion)
6496
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
6497
+ @status = args[:status] if args.key?(:status)
6498
+ @task_name = args[:task_name] if args.key?(:task_name)
6499
+ @task_number = args[:task_number] if args.key?(:task_number)
6500
+ end
6501
+ end
6502
+
6503
+ # Status for the execution attempt.
6504
+ class GoogleCloudIntegrationsV1alphaAttemptStats
6505
+ include Google::Apis::Core::Hashable
6506
+
6507
+ # The end time of the integration execution for current attempt.
6508
+ # Corresponds to the JSON property `endTime`
6509
+ # @return [String]
6510
+ attr_accessor :end_time
6511
+
6512
+ # The start time of the integration execution for current attempt. This could be
6513
+ # in the future if it's been scheduled.
6514
+ # Corresponds to the JSON property `startTime`
6515
+ # @return [String]
6516
+ attr_accessor :start_time
6517
+
6518
+ def initialize(**args)
6519
+ update!(**args)
6520
+ end
6521
+
6522
+ # Update properties of this object
6523
+ def update!(**args)
6524
+ @end_time = args[:end_time] if args.key?(:end_time)
6525
+ @start_time = args[:start_time] if args.key?(:start_time)
6526
+ end
6527
+ end
6528
+
6529
+ # The AuthConfig resource use to hold channels and connection config data.
6530
+ class GoogleCloudIntegrationsV1alphaAuthConfig
6531
+ include Google::Apis::Core::Hashable
6532
+
6533
+ # Certificate id for client certificate
6534
+ # Corresponds to the JSON property `certificateId`
6535
+ # @return [String]
6536
+ attr_accessor :certificate_id
6537
+
6538
+ # Output only. The timestamp when the auth config is created.
6539
+ # Corresponds to the JSON property `createTime`
6540
+ # @return [String]
6541
+ attr_accessor :create_time
6542
+
6543
+ # The creator's email address. Generated based on the End User Credentials/LOAS
6544
+ # role of the user making the call.
6545
+ # Corresponds to the JSON property `creatorEmail`
6546
+ # @return [String]
6547
+ attr_accessor :creator_email
6548
+
6549
+ # Credential type of the encrypted credential.
6550
+ # Corresponds to the JSON property `credentialType`
6551
+ # @return [String]
6552
+ attr_accessor :credential_type
6553
+
6554
+ # Defines parameters for a single, canonical credential.
6220
6555
  # Corresponds to the JSON property `decryptedCredential`
6221
6556
  # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCredential]
6222
6557
  attr_accessor :decrypted_credential
@@ -6365,12 +6700,19 @@ module Google
6365
6700
  class GoogleCloudIntegrationsV1alphaCancelExecutionRequest
6366
6701
  include Google::Apis::Core::Hashable
6367
6702
 
6703
+ # Required. Reason for cancelling the execution. This is provided by the client
6704
+ # requesting the cancellation, and is not used by the Platform.
6705
+ # Corresponds to the JSON property `cancelReason`
6706
+ # @return [String]
6707
+ attr_accessor :cancel_reason
6708
+
6368
6709
  def initialize(**args)
6369
6710
  update!(**args)
6370
6711
  end
6371
6712
 
6372
6713
  # Update properties of this object
6373
6714
  def update!(**args)
6715
+ @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
6374
6716
  end
6375
6717
  end
6376
6718
 
@@ -6378,7 +6720,7 @@ module Google
6378
6720
  class GoogleCloudIntegrationsV1alphaCancelExecutionResponse
6379
6721
  include Google::Apis::Core::Hashable
6380
6722
 
6381
- # True if cancellation performed successfully
6723
+ # True if cancellation performed successfully.
6382
6724
  # Corresponds to the JSON property `isCanceled`
6383
6725
  # @return [Boolean]
6384
6726
  attr_accessor :is_canceled
@@ -6404,7 +6746,6 @@ module Google
6404
6746
  attr_accessor :certificate_status
6405
6747
 
6406
6748
  # Immutable. Credential id that will be used to register with trawler
6407
- # INTERNAL_ONLY
6408
6749
  # Corresponds to the JSON property `credentialId`
6409
6750
  # @return [String]
6410
6751
  attr_accessor :credential_id
@@ -6552,6 +6893,13 @@ module Google
6552
6893
  # @return [String]
6553
6894
  attr_accessor :description
6554
6895
 
6896
+ # Optional. Indicates the client enables internal IP feature, this is applicable
6897
+ # for internal clients only.
6898
+ # Corresponds to the JSON property `enableInternalIp`
6899
+ # @return [Boolean]
6900
+ attr_accessor :enable_internal_ip
6901
+ alias_method :enable_internal_ip?, :enable_internal_ip
6902
+
6555
6903
  # Optional. True if variable masking feature should be turned on for this region
6556
6904
  # Corresponds to the JSON property `enableVariableMasking`
6557
6905
  # @return [Boolean]
@@ -6602,6 +6950,7 @@ module Google
6602
6950
  @cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config)
6603
6951
  @create_time = args[:create_time] if args.key?(:create_time)
6604
6952
  @description = args[:description] if args.key?(:description)
6953
+ @enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
6605
6954
  @enable_variable_masking = args[:enable_variable_masking] if args.key?(:enable_variable_masking)
6606
6955
  @id = args[:id] if args.key?(:id)
6607
6956
  @is_gmek = args[:is_gmek] if args.key?(:is_gmek)
@@ -6733,6 +7082,33 @@ module Google
6733
7082
  end
6734
7083
  end
6735
7084
 
7085
+ # Conditional task failur retry strategies
7086
+ class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies
7087
+ include Google::Apis::Core::Hashable
7088
+
7089
+ # Policy that defines the task retry logic and failure type. If no FailurePolicy
7090
+ # is defined for a task, all its dependent tasks will not be executed (i.e, a `
7091
+ # retry_strategy` of NONE will be applied).
7092
+ # Corresponds to the JSON property `defaultFailurePolicy`
7093
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy]
7094
+ attr_accessor :default_failure_policy
7095
+
7096
+ # The list of failure policies that will be applied to the task in order.
7097
+ # Corresponds to the JSON property `failurePolicies`
7098
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaFailurePolicy>]
7099
+ attr_accessor :failure_policies
7100
+
7101
+ def initialize(**args)
7102
+ update!(**args)
7103
+ end
7104
+
7105
+ # Update properties of this object
7106
+ def update!(**args)
7107
+ @default_failure_policy = args[:default_failure_policy] if args.key?(:default_failure_policy)
7108
+ @failure_policies = args[:failure_policies] if args.key?(:failure_policies)
7109
+ end
7110
+ end
7111
+
6736
7112
  # Metadata of runtime connection schema.
6737
7113
  class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata
6738
7114
  include Google::Apis::Core::Hashable
@@ -7053,6 +7429,44 @@ module Google
7053
7429
  end
7054
7430
  end
7055
7431
 
7432
+ # Response for DownloadTemplate.
7433
+ class GoogleCloudIntegrationsV1alphaDownloadTemplateResponse
7434
+ include Google::Apis::Core::Hashable
7435
+
7436
+ # String representation of the template.
7437
+ # Corresponds to the JSON property `content`
7438
+ # @return [String]
7439
+ attr_accessor :content
7440
+
7441
+ def initialize(**args)
7442
+ update!(**args)
7443
+ end
7444
+
7445
+ # Update properties of this object
7446
+ def update!(**args)
7447
+ @content = args[:content] if args.key?(:content)
7448
+ end
7449
+ end
7450
+
7451
+ # Response for DownloadTestCase.
7452
+ class GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse
7453
+ include Google::Apis::Core::Hashable
7454
+
7455
+ # String representation of the test case.
7456
+ # Corresponds to the JSON property `content`
7457
+ # @return [String]
7458
+ attr_accessor :content
7459
+
7460
+ def initialize(**args)
7461
+ update!(**args)
7462
+ end
7463
+
7464
+ # Update properties of this object
7465
+ def update!(**args)
7466
+ @content = args[:content] if args.key?(:content)
7467
+ end
7468
+ end
7469
+
7056
7470
  # Response containing all provisioned regions for Connector Platform.
7057
7471
  class GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse
7058
7472
  include Google::Apis::Core::Hashable
@@ -7295,6 +7709,64 @@ module Google
7295
7709
  end
7296
7710
  end
7297
7711
 
7712
+ # The request for executing a functional test.
7713
+ class GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest
7714
+ include Google::Apis::Core::Hashable
7715
+
7716
+ # Optional. Input parameters used by test case execution.
7717
+ # Corresponds to the JSON property `inputParameters`
7718
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
7719
+ attr_accessor :input_parameters
7720
+
7721
+ def initialize(**args)
7722
+ update!(**args)
7723
+ end
7724
+
7725
+ # Update properties of this object
7726
+ def update!(**args)
7727
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
7728
+ end
7729
+ end
7730
+
7731
+ # The response for executing a functional test.
7732
+ class GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse
7733
+ include Google::Apis::Core::Hashable
7734
+
7735
+ # Results of each assertions ran during execution of test case.
7736
+ # Corresponds to the JSON property `assertionResults`
7737
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertionResult>]
7738
+ attr_accessor :assertion_results
7739
+
7740
+ # The id of the execution corresponding to this run of integration.
7741
+ # Corresponds to the JSON property `executionId`
7742
+ # @return [String]
7743
+ attr_accessor :execution_id
7744
+
7745
+ # OUTPUT parameters in format of Map. Where Key is the name of the parameter.
7746
+ # Note: Name of the system generated parameters are wrapped by backtick(`) to
7747
+ # distinguish them from the user defined parameters.
7748
+ # Corresponds to the JSON property `outputParameters`
7749
+ # @return [Hash<String,Object>]
7750
+ attr_accessor :output_parameters
7751
+
7752
+ # State of the test case execution
7753
+ # Corresponds to the JSON property `testExecutionState`
7754
+ # @return [String]
7755
+ attr_accessor :test_execution_state
7756
+
7757
+ def initialize(**args)
7758
+ update!(**args)
7759
+ end
7760
+
7761
+ # Update properties of this object
7762
+ def update!(**args)
7763
+ @assertion_results = args[:assertion_results] if args.key?(:assertion_results)
7764
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
7765
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
7766
+ @test_execution_state = args[:test_execution_state] if args.key?(:test_execution_state)
7767
+ end
7768
+ end
7769
+
7298
7770
  # The Execution resource contains detailed information of an individual
7299
7771
  # integration execution.
7300
7772
  class GoogleCloudIntegrationsV1alphaExecution
@@ -7317,7 +7789,7 @@ module Google
7317
7789
 
7318
7790
  # Contains the details of the execution info of this event: this includes the
7319
7791
  # tasks execution details plus the event execution statistics. Next available id:
7320
- # 11
7792
+ # 12
7321
7793
  # Corresponds to the JSON property `eventExecutionDetails`
7322
7794
  # @return [Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetails]
7323
7795
  attr_accessor :event_execution_details
@@ -7343,6 +7815,12 @@ module Google
7343
7815
  # @return [String]
7344
7816
  attr_accessor :name
7345
7817
 
7818
+ # Contains the details of the execution info: this includes the replay reason
7819
+ # and replay tree connecting executions in a parent-child relationship
7820
+ # Corresponds to the JSON property `replayInfo`
7821
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionReplayInfo]
7822
+ attr_accessor :replay_info
7823
+
7346
7824
  # Event parameters come in as part of the request.
7347
7825
  # Corresponds to the JSON property `requestParameters`
7348
7826
  # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
@@ -7353,12 +7831,14 @@ module Google
7353
7831
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>]
7354
7832
  attr_accessor :request_params
7355
7833
 
7356
- # Event parameters returned as part of the response.
7834
+ # Event parameters returned as part of the response. In the case of error, the `
7835
+ # ErrorInfo` field is returned in the following format: ` "ErrorInfo": ` "
7836
+ # message": String, "code": Number ` `
7357
7837
  # Corresponds to the JSON property `responseParameters`
7358
7838
  # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
7359
7839
  attr_accessor :response_parameters
7360
7840
 
7361
- # Event parameters come out as part of the response.
7841
+ #
7362
7842
  # Corresponds to the JSON property `responseParams`
7363
7843
  # @return [Array<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>]
7364
7844
  attr_accessor :response_params
@@ -7395,6 +7875,7 @@ module Google
7395
7875
  @execution_method = args[:execution_method] if args.key?(:execution_method)
7396
7876
  @integration_version_state = args[:integration_version_state] if args.key?(:integration_version_state)
7397
7877
  @name = args[:name] if args.key?(:name)
7878
+ @replay_info = args[:replay_info] if args.key?(:replay_info)
7398
7879
  @request_parameters = args[:request_parameters] if args.key?(:request_parameters)
7399
7880
  @request_params = args[:request_params] if args.key?(:request_params)
7400
7881
  @response_parameters = args[:response_parameters] if args.key?(:response_parameters)
@@ -7443,6 +7924,46 @@ module Google
7443
7924
  end
7444
7925
  end
7445
7926
 
7927
+ # Contains the details of the execution info: this includes the replay reason
7928
+ # and replay tree connecting executions in a parent-child relationship
7929
+ class GoogleCloudIntegrationsV1alphaExecutionReplayInfo
7930
+ include Google::Apis::Core::Hashable
7931
+
7932
+ # If this execution is a replay of another execution, then this field contains
7933
+ # the original execution id.
7934
+ # Corresponds to the JSON property `originalExecutionInfoId`
7935
+ # @return [String]
7936
+ attr_accessor :original_execution_info_id
7937
+
7938
+ # Replay mode for the execution
7939
+ # Corresponds to the JSON property `replayMode`
7940
+ # @return [String]
7941
+ attr_accessor :replay_mode
7942
+
7943
+ # reason for replay
7944
+ # Corresponds to the JSON property `replayReason`
7945
+ # @return [String]
7946
+ attr_accessor :replay_reason
7947
+
7948
+ # If this execution has been replayed, then this field contains the execution
7949
+ # ids of the replayed executions.
7950
+ # Corresponds to the JSON property `replayedExecutionInfoIds`
7951
+ # @return [Array<String>]
7952
+ attr_accessor :replayed_execution_info_ids
7953
+
7954
+ def initialize(**args)
7955
+ update!(**args)
7956
+ end
7957
+
7958
+ # Update properties of this object
7959
+ def update!(**args)
7960
+ @original_execution_info_id = args[:original_execution_info_id] if args.key?(:original_execution_info_id)
7961
+ @replay_mode = args[:replay_mode] if args.key?(:replay_mode)
7962
+ @replay_reason = args[:replay_reason] if args.key?(:replay_reason)
7963
+ @replayed_execution_info_ids = args[:replayed_execution_info_ids] if args.key?(:replayed_execution_info_ids)
7964
+ end
7965
+ end
7966
+
7446
7967
  # Contains the snapshot of the execution for a given checkpoint.
7447
7968
  class GoogleCloudIntegrationsV1alphaExecutionSnapshot
7448
7969
  include Google::Apis::Core::Hashable
@@ -7549,6 +8070,12 @@ module Google
7549
8070
  class GoogleCloudIntegrationsV1alphaFailurePolicy
7550
8071
  include Google::Apis::Core::Hashable
7551
8072
 
8073
+ # Optional. The string condition that will be evaluated to determine if the task
8074
+ # should be retried with this failure policy.
8075
+ # Corresponds to the JSON property `condition`
8076
+ # @return [String]
8077
+ attr_accessor :condition
8078
+
7552
8079
  # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/
7553
8080
  # RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for
7554
8081
  # backoff.
@@ -7574,6 +8101,7 @@ module Google
7574
8101
 
7575
8102
  # Update properties of this object
7576
8103
  def update!(**args)
8104
+ @condition = args[:condition] if args.key?(:condition)
7577
8105
  @interval_time = args[:interval_time] if args.key?(:interval_time)
7578
8106
  @max_retries = args[:max_retries] if args.key?(:max_retries)
7579
8107
  @retry_strategy = args[:retry_strategy] if args.key?(:retry_strategy)
@@ -7612,6 +8140,50 @@ module Google
7612
8140
  end
7613
8141
  end
7614
8142
 
8143
+ # Request for GenerateOpenApiSpec.
8144
+ class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
8145
+ include Google::Apis::Core::Hashable
8146
+
8147
+ # Required. List of api triggers
8148
+ # Corresponds to the JSON property `apiTriggerResources`
8149
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource>]
8150
+ attr_accessor :api_trigger_resources
8151
+
8152
+ # Required. File format for generated spec.
8153
+ # Corresponds to the JSON property `fileFormat`
8154
+ # @return [String]
8155
+ attr_accessor :file_format
8156
+
8157
+ def initialize(**args)
8158
+ update!(**args)
8159
+ end
8160
+
8161
+ # Update properties of this object
8162
+ def update!(**args)
8163
+ @api_trigger_resources = args[:api_trigger_resources] if args.key?(:api_trigger_resources)
8164
+ @file_format = args[:file_format] if args.key?(:file_format)
8165
+ end
8166
+ end
8167
+
8168
+ # Response of the GenerateOpenApiSpec API.
8169
+ class GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse
8170
+ include Google::Apis::Core::Hashable
8171
+
8172
+ # Open API spec as per the required format
8173
+ # Corresponds to the JSON property `openApiSpec`
8174
+ # @return [String]
8175
+ attr_accessor :open_api_spec
8176
+
8177
+ def initialize(**args)
8178
+ update!(**args)
8179
+ end
8180
+
8181
+ # Update properties of this object
8182
+ def update!(**args)
8183
+ @open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec)
8184
+ end
8185
+ end
8186
+
7615
8187
  # Returns success or error message
7616
8188
  class GoogleCloudIntegrationsV1alphaGenerateTokenResponse
7617
8189
  include Google::Apis::Core::Hashable
@@ -7669,17 +8241,73 @@ module Google
7669
8241
  end
7670
8242
  end
7671
8243
 
7672
- # This message only contains a field of integer array.
7673
- class GoogleCloudIntegrationsV1alphaIntParameterArray
8244
+ # Request to Import template
8245
+ class GoogleCloudIntegrationsV1alphaImportTemplateRequest
7674
8246
  include Google::Apis::Core::Hashable
7675
8247
 
7676
- # Integer array.
7677
- # Corresponds to the JSON property `intValues`
7678
- # @return [Array<Fixnum>]
7679
- attr_accessor :int_values
8248
+ # Required. Name of the integration where template needs to be imported.
8249
+ # Corresponds to the JSON property `integration`
8250
+ # @return [String]
8251
+ attr_accessor :integration
7680
8252
 
7681
- def initialize(**args)
7682
- update!(**args)
8253
+ # Required. The region of the Integration to be created.
8254
+ # Corresponds to the JSON property `integrationRegion`
8255
+ # @return [String]
8256
+ attr_accessor :integration_region
8257
+
8258
+ # Optional. Sub Integration which would be created via templates.
8259
+ # Corresponds to the JSON property `subIntegrations`
8260
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails>]
8261
+ attr_accessor :sub_integrations
8262
+
8263
+ def initialize(**args)
8264
+ update!(**args)
8265
+ end
8266
+
8267
+ # Update properties of this object
8268
+ def update!(**args)
8269
+ @integration = args[:integration] if args.key?(:integration)
8270
+ @integration_region = args[:integration_region] if args.key?(:integration_region)
8271
+ @sub_integrations = args[:sub_integrations] if args.key?(:sub_integrations)
8272
+ end
8273
+ end
8274
+
8275
+ # Response for import template
8276
+ class GoogleCloudIntegrationsV1alphaImportTemplateResponse
8277
+ include Google::Apis::Core::Hashable
8278
+
8279
+ # The integration version definition.
8280
+ # Corresponds to the JSON property `integrationVersion`
8281
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
8282
+ attr_accessor :integration_version
8283
+
8284
+ # Sub integration versions which are imported.
8285
+ # Corresponds to the JSON property `subIntegrationVersions`
8286
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion>]
8287
+ attr_accessor :sub_integration_versions
8288
+
8289
+ def initialize(**args)
8290
+ update!(**args)
8291
+ end
8292
+
8293
+ # Update properties of this object
8294
+ def update!(**args)
8295
+ @integration_version = args[:integration_version] if args.key?(:integration_version)
8296
+ @sub_integration_versions = args[:sub_integration_versions] if args.key?(:sub_integration_versions)
8297
+ end
8298
+ end
8299
+
8300
+ # This message only contains a field of integer array.
8301
+ class GoogleCloudIntegrationsV1alphaIntParameterArray
8302
+ include Google::Apis::Core::Hashable
8303
+
8304
+ # Integer array.
8305
+ # Corresponds to the JSON property `intValues`
8306
+ # @return [Array<Fixnum>]
8307
+ attr_accessor :int_values
8308
+
8309
+ def initialize(**args)
8310
+ update!(**args)
7683
8311
  end
7684
8312
 
7685
8313
  # Update properties of this object
@@ -7922,6 +8550,11 @@ module Google
7922
8550
  # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType]
7923
8551
  attr_accessor :default_value
7924
8552
 
8553
+ # Optional. Description of the parameter.
8554
+ # Corresponds to the JSON property `description`
8555
+ # @return [String]
8556
+ attr_accessor :description
8557
+
7925
8558
  # The name (without prefix) to be displayed in the UI for this parameter. E.g.
7926
8559
  # if the key is "foo.bar.myName", then the name would be "myName".
7927
8560
  # Corresponds to the JSON property `displayName`
@@ -7979,6 +8612,7 @@ module Google
7979
8612
  @contains_large_data = args[:contains_large_data] if args.key?(:contains_large_data)
7980
8613
  @data_type = args[:data_type] if args.key?(:data_type)
7981
8614
  @default_value = args[:default_value] if args.key?(:default_value)
8615
+ @description = args[:description] if args.key?(:description)
7982
8616
  @display_name = args[:display_name] if args.key?(:display_name)
7983
8617
  @input_output_type = args[:input_output_type] if args.key?(:input_output_type)
7984
8618
  @is_transient = args[:is_transient] if args.key?(:is_transient)
@@ -8191,6 +8825,31 @@ module Google
8191
8825
  end
8192
8826
  end
8193
8827
 
8828
+ # Define the template of IntegrationVersion.
8829
+ class GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate
8830
+ include Google::Apis::Core::Hashable
8831
+
8832
+ # The integration version definition.
8833
+ # Corresponds to the JSON property `integrationVersion`
8834
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
8835
+ attr_accessor :integration_version
8836
+
8837
+ # Required. Unique Key of the IntegrationVersion.
8838
+ # Corresponds to the JSON property `key`
8839
+ # @return [String]
8840
+ attr_accessor :key
8841
+
8842
+ def initialize(**args)
8843
+ update!(**args)
8844
+ end
8845
+
8846
+ # Update properties of this object
8847
+ def update!(**args)
8848
+ @integration_version = args[:integration_version] if args.key?(:integration_version)
8849
+ @key = args[:key] if args.key?(:key)
8850
+ end
8851
+ end
8852
+
8194
8853
  # Represents JSON web token(JWT), which is a compact, URL-safe means of
8195
8854
  # representing claims to be transferred between two parties, enabling the claims
8196
8855
  # to be digitally signed or integrity protected.
@@ -8603,6 +9262,115 @@ module Google
8603
9262
  end
8604
9263
  end
8605
9264
 
9265
+ # Response for a request to list templates
9266
+ class GoogleCloudIntegrationsV1alphaListTemplatesResponse
9267
+ include Google::Apis::Core::Hashable
9268
+
9269
+ # The token used to retrieve the next page results.
9270
+ # Corresponds to the JSON property `nextPageToken`
9271
+ # @return [String]
9272
+ attr_accessor :next_page_token
9273
+
9274
+ # List of templates retrieved.
9275
+ # Corresponds to the JSON property `templates`
9276
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate>]
9277
+ attr_accessor :templates
9278
+
9279
+ def initialize(**args)
9280
+ update!(**args)
9281
+ end
9282
+
9283
+ # Update properties of this object
9284
+ def update!(**args)
9285
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9286
+ @templates = args[:templates] if args.key?(:templates)
9287
+ end
9288
+ end
9289
+
9290
+ # The response for listing the functional test execution data.
9291
+ class GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse
9292
+ include Google::Apis::Core::Hashable
9293
+
9294
+ # The detailed information of requested executions
9295
+ # Corresponds to the JSON property `executions`
9296
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution>]
9297
+ attr_accessor :executions
9298
+
9299
+ # The token used to retrieve the next page results.
9300
+ # Corresponds to the JSON property `nextPageToken`
9301
+ # @return [String]
9302
+ attr_accessor :next_page_token
9303
+
9304
+ def initialize(**args)
9305
+ update!(**args)
9306
+ end
9307
+
9308
+ # Update properties of this object
9309
+ def update!(**args)
9310
+ @executions = args[:executions] if args.key?(:executions)
9311
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9312
+ end
9313
+ end
9314
+
9315
+ # Response for ListTestCases
9316
+ class GoogleCloudIntegrationsV1alphaListTestCasesResponse
9317
+ include Google::Apis::Core::Hashable
9318
+
9319
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
9320
+ # field is omitted, there are no subsequent pages.
9321
+ # Corresponds to the JSON property `nextPageToken`
9322
+ # @return [String]
9323
+ attr_accessor :next_page_token
9324
+
9325
+ # The test cases corresponding to the specified filter
9326
+ # Corresponds to the JSON property `testCases`
9327
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase>]
9328
+ attr_accessor :test_cases
9329
+
9330
+ def initialize(**args)
9331
+ update!(**args)
9332
+ end
9333
+
9334
+ # Update properties of this object
9335
+ def update!(**args)
9336
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9337
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
9338
+ end
9339
+ end
9340
+
9341
+ # The configuration for mocking of a task during test execution Next available
9342
+ # id: 4
9343
+ class GoogleCloudIntegrationsV1alphaMockConfig
9344
+ include Google::Apis::Core::Hashable
9345
+
9346
+ # Optional. Number of times the given task should fail for failure mock strategy
9347
+ # Corresponds to the JSON property `failedExecutions`
9348
+ # @return [Fixnum]
9349
+ attr_accessor :failed_executions
9350
+
9351
+ # Mockstrategy defines how the particular task should be mocked during test
9352
+ # execution
9353
+ # Corresponds to the JSON property `mockStrategy`
9354
+ # @return [String]
9355
+ attr_accessor :mock_strategy
9356
+
9357
+ # Optional. List of key-value pairs for specific mock strategy
9358
+ # Corresponds to the JSON property `parameters`
9359
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter>]
9360
+ attr_accessor :parameters
9361
+
9362
+ def initialize(**args)
9363
+ update!(**args)
9364
+ end
9365
+
9366
+ # Update properties of this object
9367
+ def update!(**args)
9368
+ @failed_executions = args[:failed_executions] if args.key?(:failed_executions)
9369
+ @mock_strategy = args[:mock_strategy] if args.key?(:mock_strategy)
9370
+ @parameters = args[:parameters] if args.key?(:parameters)
9371
+ end
9372
+ end
9373
+
8606
9374
  # The task that is next in line to be executed, if the condition specified
8607
9375
  # evaluated to true.
8608
9376
  class GoogleCloudIntegrationsV1alphaNextTask
@@ -9124,6 +9892,60 @@ module Google
9124
9892
  end
9125
9893
  end
9126
9894
 
9895
+ # Request for replaying an execution.
9896
+ class GoogleCloudIntegrationsV1alphaReplayExecutionRequest
9897
+ include Google::Apis::Core::Hashable
9898
+
9899
+ # Required. The user provided reason for replaying the execution.
9900
+ # Corresponds to the JSON property `replayReason`
9901
+ # @return [String]
9902
+ attr_accessor :replay_reason
9903
+
9904
+ def initialize(**args)
9905
+ update!(**args)
9906
+ end
9907
+
9908
+ # Update properties of this object
9909
+ def update!(**args)
9910
+ @replay_reason = args[:replay_reason] if args.key?(:replay_reason)
9911
+ end
9912
+ end
9913
+
9914
+ # Response for replaying an execution.
9915
+ class GoogleCloudIntegrationsV1alphaReplayExecutionResponse
9916
+ include Google::Apis::Core::Hashable
9917
+
9918
+ # Next ID: 4 The id of the execution corresponding to this run of the
9919
+ # integration.
9920
+ # Corresponds to the JSON property `executionId`
9921
+ # @return [String]
9922
+ attr_accessor :execution_id
9923
+
9924
+ # OUTPUT parameters in format of Map. Where Key is the name of the parameter.
9925
+ # The parameters would only be present in case of synchrounous execution. Note:
9926
+ # Name of the system generated parameters are wrapped by backtick(`) to
9927
+ # distinguish them from the user defined parameters.
9928
+ # Corresponds to the JSON property `outputParameters`
9929
+ # @return [Hash<String,Object>]
9930
+ attr_accessor :output_parameters
9931
+
9932
+ # The execution id which is replayed.
9933
+ # Corresponds to the JSON property `replayedExecutionId`
9934
+ # @return [String]
9935
+ attr_accessor :replayed_execution_id
9936
+
9937
+ def initialize(**args)
9938
+ update!(**args)
9939
+ end
9940
+
9941
+ # Update properties of this object
9942
+ def update!(**args)
9943
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
9944
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
9945
+ @replayed_execution_id = args[:replayed_execution_id] if args.key?(:replayed_execution_id)
9946
+ end
9947
+ end
9948
+
9127
9949
  # Request for [Suspensions.ResolveSuspensions].
9128
9950
  class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
9129
9951
  include Google::Apis::Core::Hashable
@@ -9218,7 +10040,7 @@ module Google
9218
10040
  end
9219
10041
  end
9220
10042
 
9221
- # The request for scheduling an integration. Next available id: 11
10043
+ # The request for scheduling an integration.
9222
10044
  class GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
9223
10045
  include Google::Apis::Core::Hashable
9224
10046
 
@@ -9301,6 +10123,31 @@ module Google
9301
10123
  end
9302
10124
  end
9303
10125
 
10126
+ # Response for a request to search templates
10127
+ class GoogleCloudIntegrationsV1alphaSearchTemplatesResponse
10128
+ include Google::Apis::Core::Hashable
10129
+
10130
+ # The token used to retrieve the next page results.
10131
+ # Corresponds to the JSON property `nextPageToken`
10132
+ # @return [String]
10133
+ attr_accessor :next_page_token
10134
+
10135
+ # List of templates retrieved.
10136
+ # Corresponds to the JSON property `templates`
10137
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate>]
10138
+ attr_accessor :templates
10139
+
10140
+ def initialize(**args)
10141
+ update!(**args)
10142
+ end
10143
+
10144
+ # Update properties of this object
10145
+ def update!(**args)
10146
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10147
+ @templates = args[:templates] if args.key?(:templates)
10148
+ end
10149
+ end
10150
+
9304
10151
  # To store string representation of Integration file.
9305
10152
  class GoogleCloudIntegrationsV1alphaSerializedFile
9306
10153
  include Google::Apis::Core::Hashable
@@ -9492,6 +10339,27 @@ module Google
9492
10339
  end
9493
10340
  end
9494
10341
 
10342
+ # Request to Share template
10343
+ class GoogleCloudIntegrationsV1alphaShareTemplateRequest
10344
+ include Google::Apis::Core::Hashable
10345
+
10346
+ # Optional. Project name resources to share the template. The project names is
10347
+ # expected in resource format Ex: projects/`project-number` or organization/`org-
10348
+ # id`
10349
+ # Corresponds to the JSON property `resourceNames`
10350
+ # @return [Array<String>]
10351
+ attr_accessor :resource_names
10352
+
10353
+ def initialize(**args)
10354
+ update!(**args)
10355
+ end
10356
+
10357
+ # Update properties of this object
10358
+ def update!(**args)
10359
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
10360
+ end
10361
+ end
10362
+
9495
10363
  # This message only contains a field of string array.
9496
10364
  class GoogleCloudIntegrationsV1alphaStringParameterArray
9497
10365
  include Google::Apis::Core::Hashable
@@ -9767,11 +10635,29 @@ module Google
9767
10635
  end
9768
10636
  end
9769
10637
 
10638
+ # Request for TakeoverTestCaseEditLock.
10639
+ class GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest
10640
+ include Google::Apis::Core::Hashable
10641
+
10642
+ def initialize(**args)
10643
+ update!(**args)
10644
+ end
10645
+
10646
+ # Update properties of this object
10647
+ def update!(**args)
10648
+ end
10649
+ end
10650
+
9770
10651
  # The task configuration details. This is not the implementation of Task. There
9771
10652
  # might be multiple TaskConfigs for the same Task.
9772
10653
  class GoogleCloudIntegrationsV1alphaTaskConfig
9773
10654
  include Google::Apis::Core::Hashable
9774
10655
 
10656
+ # Conditional task failur retry strategies
10657
+ # Corresponds to the JSON property `conditionalFailurePolicies`
10658
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaConditionalFailurePolicies]
10659
+ attr_accessor :conditional_failure_policies
10660
+
9775
10661
  # Optional. User-provided description intended to give additional business
9776
10662
  # context about the task.
9777
10663
  # Corresponds to the JSON property `description`
@@ -9872,6 +10758,7 @@ module Google
9872
10758
 
9873
10759
  # Update properties of this object
9874
10760
  def update!(**args)
10761
+ @conditional_failure_policies = args[:conditional_failure_policies] if args.key?(:conditional_failure_policies)
9875
10762
  @description = args[:description] if args.key?(:description)
9876
10763
  @display_name = args[:display_name] if args.key?(:display_name)
9877
10764
  @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
@@ -9922,30 +10809,298 @@ module Google
9922
10809
  end
9923
10810
  end
9924
10811
 
9925
- # The request for testing an integration.
9926
- class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
10812
+ # Defines the template for Application Integration
10813
+ class GoogleCloudIntegrationsV1alphaTemplate
9927
10814
  include Google::Apis::Core::Hashable
9928
10815
 
9929
- # Required. This is used to identify the client on whose behalf the event will
9930
- # be executed.
9931
- # Corresponds to the JSON property `clientId`
10816
+ # Optional. Creator of the template.
10817
+ # Corresponds to the JSON property `author`
9932
10818
  # @return [String]
9933
- attr_accessor :client_id
10819
+ attr_accessor :author
9934
10820
 
9935
- # Optional. Config parameters used during integration execution.
9936
- # Corresponds to the JSON property `configParameters`
9937
- # @return [Hash<String,Object>]
9938
- attr_accessor :config_parameters
10821
+ # Required. Categories associated with the Template. The categories listed below
10822
+ # will be utilized for the Template listing.
10823
+ # Corresponds to the JSON property `categories`
10824
+ # @return [Array<String>]
10825
+ attr_accessor :categories
9939
10826
 
9940
- # Optional. custom deadline of the rpc
9941
- # Corresponds to the JSON property `deadlineSecondsTime`
10827
+ # Optional. Components being used in the template. This could be used to
10828
+ # categorize and filter.
10829
+ # Corresponds to the JSON property `components`
10830
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent>]
10831
+ attr_accessor :components
10832
+
10833
+ # Output only. Auto-generated.
10834
+ # Corresponds to the JSON property `createTime`
9942
10835
  # @return [String]
9943
- attr_accessor :deadline_seconds_time
10836
+ attr_accessor :create_time
9944
10837
 
9945
- # Optional. Input parameters used during integration execution.
9946
- # Corresponds to the JSON property `inputParameters`
9947
- # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
9948
- attr_accessor :input_parameters
10838
+ # Optional. Description of the template. The length should not be more than 255
10839
+ # characters
10840
+ # Corresponds to the JSON property `description`
10841
+ # @return [String]
10842
+ attr_accessor :description
10843
+
10844
+ # Required. The name of the template
10845
+ # Corresponds to the JSON property `displayName`
10846
+ # @return [String]
10847
+ attr_accessor :display_name
10848
+
10849
+ # Optional. Link to template documentation.
10850
+ # Corresponds to the JSON property `docLink`
10851
+ # @return [String]
10852
+ attr_accessor :doc_link
10853
+
10854
+ # Optional. Time the template was last used.
10855
+ # Corresponds to the JSON property `lastUsedTime`
10856
+ # @return [String]
10857
+ attr_accessor :last_used_time
10858
+
10859
+ # Identifier. Resource name of the template.
10860
+ # Corresponds to the JSON property `name`
10861
+ # @return [String]
10862
+ attr_accessor :name
10863
+
10864
+ # Required. Resource names with which the template is shared for example
10865
+ # ProjectNumber/Ord id
10866
+ # Corresponds to the JSON property `sharedWith`
10867
+ # @return [Array<String>]
10868
+ attr_accessor :shared_with
10869
+
10870
+ # Required. Tags which are used to identify templates. These tags could be for
10871
+ # business use case, connectors etc.
10872
+ # Corresponds to the JSON property `tags`
10873
+ # @return [Array<String>]
10874
+ attr_accessor :tags
10875
+
10876
+ # Define the bundle of the template.
10877
+ # Corresponds to the JSON property `templateBundle`
10878
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle]
10879
+ attr_accessor :template_bundle
10880
+
10881
+ # Output only. Auto-generated
10882
+ # Corresponds to the JSON property `updateTime`
10883
+ # @return [String]
10884
+ attr_accessor :update_time
10885
+
10886
+ # Optional. Number of template usages.
10887
+ # Corresponds to the JSON property `usageCount`
10888
+ # @return [Fixnum]
10889
+ attr_accessor :usage_count
10890
+
10891
+ # Optional. Information on how to use the template. This should contain detailed
10892
+ # information about usage of the template.
10893
+ # Corresponds to the JSON property `usageInfo`
10894
+ # @return [String]
10895
+ attr_accessor :usage_info
10896
+
10897
+ # Required. Visibility of the template.
10898
+ # Corresponds to the JSON property `visibility`
10899
+ # @return [String]
10900
+ attr_accessor :visibility
10901
+
10902
+ def initialize(**args)
10903
+ update!(**args)
10904
+ end
10905
+
10906
+ # Update properties of this object
10907
+ def update!(**args)
10908
+ @author = args[:author] if args.key?(:author)
10909
+ @categories = args[:categories] if args.key?(:categories)
10910
+ @components = args[:components] if args.key?(:components)
10911
+ @create_time = args[:create_time] if args.key?(:create_time)
10912
+ @description = args[:description] if args.key?(:description)
10913
+ @display_name = args[:display_name] if args.key?(:display_name)
10914
+ @doc_link = args[:doc_link] if args.key?(:doc_link)
10915
+ @last_used_time = args[:last_used_time] if args.key?(:last_used_time)
10916
+ @name = args[:name] if args.key?(:name)
10917
+ @shared_with = args[:shared_with] if args.key?(:shared_with)
10918
+ @tags = args[:tags] if args.key?(:tags)
10919
+ @template_bundle = args[:template_bundle] if args.key?(:template_bundle)
10920
+ @update_time = args[:update_time] if args.key?(:update_time)
10921
+ @usage_count = args[:usage_count] if args.key?(:usage_count)
10922
+ @usage_info = args[:usage_info] if args.key?(:usage_info)
10923
+ @visibility = args[:visibility] if args.key?(:visibility)
10924
+ end
10925
+ end
10926
+
10927
+ # Define the bundle of the template.
10928
+ class GoogleCloudIntegrationsV1alphaTemplateBundle
10929
+ include Google::Apis::Core::Hashable
10930
+
10931
+ # Define the template of IntegrationVersion.
10932
+ # Corresponds to the JSON property `integrationVersionTemplate`
10933
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate]
10934
+ attr_accessor :integration_version_template
10935
+
10936
+ # Optional. Sub integration templates which would be added along with main
10937
+ # integration.
10938
+ # Corresponds to the JSON property `subIntegrationVersionTemplates`
10939
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate>]
10940
+ attr_accessor :sub_integration_version_templates
10941
+
10942
+ def initialize(**args)
10943
+ update!(**args)
10944
+ end
10945
+
10946
+ # Update properties of this object
10947
+ def update!(**args)
10948
+ @integration_version_template = args[:integration_version_template] if args.key?(:integration_version_template)
10949
+ @sub_integration_version_templates = args[:sub_integration_version_templates] if args.key?(:sub_integration_version_templates)
10950
+ end
10951
+ end
10952
+
10953
+ # Define the components that are present in a template.
10954
+ class GoogleCloudIntegrationsV1alphaTemplateComponent
10955
+ include Google::Apis::Core::Hashable
10956
+
10957
+ # Optional. Name of the component.
10958
+ # Corresponds to the JSON property `name`
10959
+ # @return [String]
10960
+ attr_accessor :name
10961
+
10962
+ # Optional. Type of the component.
10963
+ # Corresponds to the JSON property `type`
10964
+ # @return [String]
10965
+ attr_accessor :type
10966
+
10967
+ def initialize(**args)
10968
+ update!(**args)
10969
+ end
10970
+
10971
+ # Update properties of this object
10972
+ def update!(**args)
10973
+ @name = args[:name] if args.key?(:name)
10974
+ @type = args[:type] if args.key?(:type)
10975
+ end
10976
+ end
10977
+
10978
+ # Defines the functional test case for Application Integration. Next available
10979
+ # id: 15
10980
+ class GoogleCloudIntegrationsV1alphaTestCase
10981
+ include Google::Apis::Core::Hashable
10982
+
10983
+ # Auto-generated.
10984
+ # Corresponds to the JSON property `createTime`
10985
+ # @return [String]
10986
+ attr_accessor :create_time
10987
+
10988
+ # Optional. The creator's email address. Generated based on the End User
10989
+ # Credentials/LOAS role of the user making the call.
10990
+ # Corresponds to the JSON property `creatorEmail`
10991
+ # @return [String]
10992
+ attr_accessor :creator_email
10993
+
10994
+ # Optional. Various policies for how to persist the test execution info
10995
+ # including execution info, execution export info, execution metadata index and
10996
+ # execution param index..
10997
+ # Corresponds to the JSON property `databasePersistencePolicy`
10998
+ # @return [String]
10999
+ attr_accessor :database_persistence_policy
11000
+
11001
+ # Optional. Description of the test case.
11002
+ # Corresponds to the JSON property `description`
11003
+ # @return [String]
11004
+ attr_accessor :description
11005
+
11006
+ # Required. The display name of test case.
11007
+ # Corresponds to the JSON property `displayName`
11008
+ # @return [String]
11009
+ attr_accessor :display_name
11010
+
11011
+ # The last modifier's email address. Generated based on the End User Credentials/
11012
+ # LOAS role of the user making the call.
11013
+ # Corresponds to the JSON property `lastModifierEmail`
11014
+ # @return [String]
11015
+ attr_accessor :last_modifier_email
11016
+
11017
+ # Optional. The edit lock holder's email address. Generated based on the End
11018
+ # User Credentials/LOAS role of the user making the call.
11019
+ # Corresponds to the JSON property `lockHolderEmail`
11020
+ # @return [String]
11021
+ attr_accessor :lock_holder_email
11022
+
11023
+ # Output only. Auto-generated primary key.
11024
+ # Corresponds to the JSON property `name`
11025
+ # @return [String]
11026
+ attr_accessor :name
11027
+
11028
+ # Optional. Parameters that are expected to be passed to the test case when the
11029
+ # test case is triggered. This gives the user the ability to provide default
11030
+ # values. This should include all the output variables of the trigger as input
11031
+ # variables.
11032
+ # Corresponds to the JSON property `testInputParameters`
11033
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationParameter>]
11034
+ attr_accessor :test_input_parameters
11035
+
11036
+ # Optional. However, the test case doesn't mock or assert anything without
11037
+ # test_task_configs.
11038
+ # Corresponds to the JSON property `testTaskConfigs`
11039
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestTaskConfig>]
11040
+ attr_accessor :test_task_configs
11041
+
11042
+ # Configuration detail of a trigger.
11043
+ # Corresponds to the JSON property `triggerConfig`
11044
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfig]
11045
+ attr_accessor :trigger_config
11046
+
11047
+ # Required. This defines the trigger ID in workflow which is considered to be
11048
+ # executed as starting point of the test case
11049
+ # Corresponds to the JSON property `triggerId`
11050
+ # @return [String]
11051
+ attr_accessor :trigger_id
11052
+
11053
+ # Auto-generated.
11054
+ # Corresponds to the JSON property `updateTime`
11055
+ # @return [String]
11056
+ attr_accessor :update_time
11057
+
11058
+ def initialize(**args)
11059
+ update!(**args)
11060
+ end
11061
+
11062
+ # Update properties of this object
11063
+ def update!(**args)
11064
+ @create_time = args[:create_time] if args.key?(:create_time)
11065
+ @creator_email = args[:creator_email] if args.key?(:creator_email)
11066
+ @database_persistence_policy = args[:database_persistence_policy] if args.key?(:database_persistence_policy)
11067
+ @description = args[:description] if args.key?(:description)
11068
+ @display_name = args[:display_name] if args.key?(:display_name)
11069
+ @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email)
11070
+ @lock_holder_email = args[:lock_holder_email] if args.key?(:lock_holder_email)
11071
+ @name = args[:name] if args.key?(:name)
11072
+ @test_input_parameters = args[:test_input_parameters] if args.key?(:test_input_parameters)
11073
+ @test_task_configs = args[:test_task_configs] if args.key?(:test_task_configs)
11074
+ @trigger_config = args[:trigger_config] if args.key?(:trigger_config)
11075
+ @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
11076
+ @update_time = args[:update_time] if args.key?(:update_time)
11077
+ end
11078
+ end
11079
+
11080
+ # The request for testing an integration.
11081
+ class GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
11082
+ include Google::Apis::Core::Hashable
11083
+
11084
+ # Required. This is used to identify the client on whose behalf the event will
11085
+ # be executed.
11086
+ # Corresponds to the JSON property `clientId`
11087
+ # @return [String]
11088
+ attr_accessor :client_id
11089
+
11090
+ # Optional. Config parameters used during integration execution.
11091
+ # Corresponds to the JSON property `configParameters`
11092
+ # @return [Hash<String,Object>]
11093
+ attr_accessor :config_parameters
11094
+
11095
+ # Optional. custom deadline of the rpc
11096
+ # Corresponds to the JSON property `deadlineSecondsTime`
11097
+ # @return [String]
11098
+ attr_accessor :deadline_seconds_time
11099
+
11100
+ # Optional. Input parameters used during integration execution.
11101
+ # Corresponds to the JSON property `inputParameters`
11102
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>]
11103
+ attr_accessor :input_parameters
9949
11104
 
9950
11105
  # The integration version definition.
9951
11106
  # Corresponds to the JSON property `integrationVersion`
@@ -10041,6 +11196,56 @@ module Google
10041
11196
  end
10042
11197
  end
10043
11198
 
11199
+ # The task mock configuration details and assertions for functional tests. Next
11200
+ # available id: 6
11201
+ class GoogleCloudIntegrationsV1alphaTestTaskConfig
11202
+ include Google::Apis::Core::Hashable
11203
+
11204
+ # Optional. List of conditions or expressions which should be evaluated to true
11205
+ # unless there is a bug/problem in the integration. These are evaluated one the
11206
+ # task execution is completed as per the mock strategy in test case
11207
+ # Corresponds to the JSON property `assertions`
11208
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion>]
11209
+ attr_accessor :assertions
11210
+
11211
+ # The configuration for mocking of a task during test execution Next available
11212
+ # id: 4
11213
+ # Corresponds to the JSON property `mockConfig`
11214
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaMockConfig]
11215
+ attr_accessor :mock_config
11216
+
11217
+ # Required. This defines in the test case, the task name in integration which
11218
+ # will be mocked by this test task config
11219
+ # Corresponds to the JSON property `task`
11220
+ # @return [String]
11221
+ attr_accessor :task
11222
+
11223
+ # The task configuration details. This is not the implementation of Task. There
11224
+ # might be multiple TaskConfigs for the same Task.
11225
+ # Corresponds to the JSON property `taskConfig`
11226
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTaskConfig]
11227
+ attr_accessor :task_config
11228
+
11229
+ # Required. This defines in the test case, the task in integration which will be
11230
+ # mocked by this test task config
11231
+ # Corresponds to the JSON property `taskNumber`
11232
+ # @return [String]
11233
+ attr_accessor :task_number
11234
+
11235
+ def initialize(**args)
11236
+ update!(**args)
11237
+ end
11238
+
11239
+ # Update properties of this object
11240
+ def update!(**args)
11241
+ @assertions = args[:assertions] if args.key?(:assertions)
11242
+ @mock_config = args[:mock_config] if args.key?(:mock_config)
11243
+ @task = args[:task] if args.key?(:task)
11244
+ @task_config = args[:task_config] if args.key?(:task_config)
11245
+ @task_number = args[:task_number] if args.key?(:task_number)
11246
+ end
11247
+ end
11248
+
10044
11249
  # Configuration detail of a trigger.
10045
11250
  class GoogleCloudIntegrationsV1alphaTriggerConfig
10046
11251
  include Google::Apis::Core::Hashable
@@ -10071,6 +11276,11 @@ module Google
10071
11276
  # @return [String]
10072
11277
  attr_accessor :error_catcher_id
10073
11278
 
11279
+ # Variables names mapped to api trigger.
11280
+ # Corresponds to the JSON property `inputVariables`
11281
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables]
11282
+ attr_accessor :input_variables
11283
+
10074
11284
  # Optional. The user created label for a particular trigger.
10075
11285
  # Corresponds to the JSON property `label`
10076
11286
  # @return [String]
@@ -10081,6 +11291,11 @@ module Google
10081
11291
  # @return [String]
10082
11292
  attr_accessor :next_tasks_execution_policy
10083
11293
 
11294
+ # Variables names mapped to api trigger.
11295
+ # Corresponds to the JSON property `outputVariables`
11296
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTriggerConfigVariables]
11297
+ attr_accessor :output_variables
11298
+
10084
11299
  # Configuration detail of coordinate, it used for UI
10085
11300
  # Corresponds to the JSON property `position`
10086
11301
  # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate]
@@ -10107,7 +11322,10 @@ module Google
10107
11322
  # @return [String]
10108
11323
  attr_accessor :trigger
10109
11324
 
10110
- # Optional. The backend trigger ID.
11325
+ # Optional. Auto-generated trigger ID. The ID is based on the properties that
11326
+ # you define in the trigger config. For example, for an API trigger, the trigger
11327
+ # ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has
11328
+ # properties with value `"Trigger name": TRIGGER_NAME`
10111
11329
  # Corresponds to the JSON property `triggerId`
10112
11330
  # @return [String]
10113
11331
  attr_accessor :trigger_id
@@ -10133,8 +11351,10 @@ module Google
10133
11351
  @cloud_scheduler_config = args[:cloud_scheduler_config] if args.key?(:cloud_scheduler_config)
10134
11352
  @description = args[:description] if args.key?(:description)
10135
11353
  @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id)
11354
+ @input_variables = args[:input_variables] if args.key?(:input_variables)
10136
11355
  @label = args[:label] if args.key?(:label)
10137
11356
  @next_tasks_execution_policy = args[:next_tasks_execution_policy] if args.key?(:next_tasks_execution_policy)
11357
+ @output_variables = args[:output_variables] if args.key?(:output_variables)
10138
11358
  @position = args[:position] if args.key?(:position)
10139
11359
  @properties = args[:properties] if args.key?(:properties)
10140
11360
  @start_tasks = args[:start_tasks] if args.key?(:start_tasks)
@@ -10145,6 +11365,25 @@ module Google
10145
11365
  end
10146
11366
  end
10147
11367
 
11368
+ # Variables names mapped to api trigger.
11369
+ class GoogleCloudIntegrationsV1alphaTriggerConfigVariables
11370
+ include Google::Apis::Core::Hashable
11371
+
11372
+ # Optional. List of variable names.
11373
+ # Corresponds to the JSON property `names`
11374
+ # @return [Array<String>]
11375
+ attr_accessor :names
11376
+
11377
+ def initialize(**args)
11378
+ update!(**args)
11379
+ end
11380
+
11381
+ # Update properties of this object
11382
+ def update!(**args)
11383
+ @names = args[:names] if args.key?(:names)
11384
+ end
11385
+ end
11386
+
10148
11387
  # Request for UnpublishIntegrationVersion.
10149
11388
  class GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
10150
11389
  include Google::Apis::Core::Hashable
@@ -10158,11 +11397,31 @@ module Google
10158
11397
  end
10159
11398
  end
10160
11399
 
11400
+ # Request to Unshare template
11401
+ class GoogleCloudIntegrationsV1alphaUnshareTemplateRequest
11402
+ include Google::Apis::Core::Hashable
11403
+
11404
+ # Optional. Project name resources to unshare the template. The project names is
11405
+ # expected in resource format Ex: projects/`project-number`
11406
+ # Corresponds to the JSON property `resourceNames`
11407
+ # @return [Array<String>]
11408
+ attr_accessor :resource_names
11409
+
11410
+ def initialize(**args)
11411
+ update!(**args)
11412
+ end
11413
+
11414
+ # Update properties of this object
11415
+ def update!(**args)
11416
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
11417
+ end
11418
+ end
11419
+
10161
11420
  # Request for UploadIntegrationVersion.
10162
11421
  class GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
10163
11422
  include Google::Apis::Core::Hashable
10164
11423
 
10165
- # The textproto of the integration_version.
11424
+ # The textproto of the IntegrationVersion.
10166
11425
  # Corresponds to the JSON property `content`
10167
11426
  # @return [String]
10168
11427
  attr_accessor :content
@@ -10202,6 +11461,177 @@ module Google
10202
11461
  end
10203
11462
  end
10204
11463
 
11464
+ # Request for UploadTemplate.
11465
+ class GoogleCloudIntegrationsV1alphaUploadTemplateRequest
11466
+ include Google::Apis::Core::Hashable
11467
+
11468
+ # Required. The textproto of the template.
11469
+ # Corresponds to the JSON property `content`
11470
+ # @return [String]
11471
+ attr_accessor :content
11472
+
11473
+ # Required. File format for upload request.
11474
+ # Corresponds to the JSON property `fileFormat`
11475
+ # @return [String]
11476
+ attr_accessor :file_format
11477
+
11478
+ def initialize(**args)
11479
+ update!(**args)
11480
+ end
11481
+
11482
+ # Update properties of this object
11483
+ def update!(**args)
11484
+ @content = args[:content] if args.key?(:content)
11485
+ @file_format = args[:file_format] if args.key?(:file_format)
11486
+ end
11487
+ end
11488
+
11489
+ # Response for UploadTemplate.
11490
+ class GoogleCloudIntegrationsV1alphaUploadTemplateResponse
11491
+ include Google::Apis::Core::Hashable
11492
+
11493
+ # Defines the template for Application Integration
11494
+ # Corresponds to the JSON property `template`
11495
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate]
11496
+ attr_accessor :template
11497
+
11498
+ def initialize(**args)
11499
+ update!(**args)
11500
+ end
11501
+
11502
+ # Update properties of this object
11503
+ def update!(**args)
11504
+ @template = args[:template] if args.key?(:template)
11505
+ end
11506
+ end
11507
+
11508
+ # Request for UploadTestCase.
11509
+ class GoogleCloudIntegrationsV1alphaUploadTestCaseRequest
11510
+ include Google::Apis::Core::Hashable
11511
+
11512
+ # The textproto of the test case.
11513
+ # Corresponds to the JSON property `content`
11514
+ # @return [String]
11515
+ attr_accessor :content
11516
+
11517
+ # File format for upload request.
11518
+ # Corresponds to the JSON property `fileFormat`
11519
+ # @return [String]
11520
+ attr_accessor :file_format
11521
+
11522
+ def initialize(**args)
11523
+ update!(**args)
11524
+ end
11525
+
11526
+ # Update properties of this object
11527
+ def update!(**args)
11528
+ @content = args[:content] if args.key?(:content)
11529
+ @file_format = args[:file_format] if args.key?(:file_format)
11530
+ end
11531
+ end
11532
+
11533
+ # Response for UploadTestCase.
11534
+ class GoogleCloudIntegrationsV1alphaUploadTestCaseResponse
11535
+ include Google::Apis::Core::Hashable
11536
+
11537
+ # Defines the functional test case for Application Integration. Next available
11538
+ # id: 15
11539
+ # Corresponds to the JSON property `testCase`
11540
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestCase]
11541
+ attr_accessor :test_case
11542
+
11543
+ def initialize(**args)
11544
+ update!(**args)
11545
+ end
11546
+
11547
+ # Update properties of this object
11548
+ def update!(**args)
11549
+ @test_case = args[:test_case] if args.key?(:test_case)
11550
+ end
11551
+ end
11552
+
11553
+ # Request to Use template
11554
+ class GoogleCloudIntegrationsV1alphaUseTemplateRequest
11555
+ include Google::Apis::Core::Hashable
11556
+
11557
+ # Sub Integration which would be created via templates.
11558
+ # Corresponds to the JSON property `integrationDetails`
11559
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails]
11560
+ attr_accessor :integration_details
11561
+
11562
+ # Required. The region of the Integration to be created.
11563
+ # Corresponds to the JSON property `integrationRegion`
11564
+ # @return [String]
11565
+ attr_accessor :integration_region
11566
+
11567
+ # Optional. Sub Integration which would be created via templates.
11568
+ # Corresponds to the JSON property `subIntegrations`
11569
+ # @return [Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails>]
11570
+ attr_accessor :sub_integrations
11571
+
11572
+ def initialize(**args)
11573
+ update!(**args)
11574
+ end
11575
+
11576
+ # Update properties of this object
11577
+ def update!(**args)
11578
+ @integration_details = args[:integration_details] if args.key?(:integration_details)
11579
+ @integration_region = args[:integration_region] if args.key?(:integration_region)
11580
+ @sub_integrations = args[:sub_integrations] if args.key?(:sub_integrations)
11581
+ end
11582
+ end
11583
+
11584
+ # Sub Integration which would be created via templates.
11585
+ class GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails
11586
+ include Google::Apis::Core::Hashable
11587
+
11588
+ # Required. Name of the sub integration which would be created via templates.
11589
+ # Corresponds to the JSON property `integration`
11590
+ # @return [String]
11591
+ attr_accessor :integration
11592
+
11593
+ # Optional. Description of the sub integration which would be created via
11594
+ # templates.
11595
+ # Corresponds to the JSON property `integrationDescription`
11596
+ # @return [String]
11597
+ attr_accessor :integration_description
11598
+
11599
+ def initialize(**args)
11600
+ update!(**args)
11601
+ end
11602
+
11603
+ # Update properties of this object
11604
+ def update!(**args)
11605
+ @integration = args[:integration] if args.key?(:integration)
11606
+ @integration_description = args[:integration_description] if args.key?(:integration_description)
11607
+ end
11608
+ end
11609
+
11610
+ # Response for use template
11611
+ class GoogleCloudIntegrationsV1alphaUseTemplateResponse
11612
+ include Google::Apis::Core::Hashable
11613
+
11614
+ # The integration version definition.
11615
+ # Corresponds to the JSON property `integrationVersion`
11616
+ # @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion]
11617
+ attr_accessor :integration_version
11618
+
11619
+ # Sub integration versions which are created.
11620
+ # Corresponds to the JSON property `subIntegrationVersions`
11621
+ # @return [Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion>]
11622
+ attr_accessor :sub_integration_versions
11623
+
11624
+ def initialize(**args)
11625
+ update!(**args)
11626
+ end
11627
+
11628
+ # Update properties of this object
11629
+ def update!(**args)
11630
+ @integration_version = args[:integration_version] if args.key?(:integration_version)
11631
+ @sub_integration_versions = args[:sub_integration_versions] if args.key?(:sub_integration_versions)
11632
+ end
11633
+ end
11634
+
10205
11635
  # Username and password pair.
10206
11636
  class GoogleCloudIntegrationsV1alphaUsernameAndPassword
10207
11637
  include Google::Apis::Core::Hashable