google-apis-integrations_v1alpha 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fd5e33a5f62374f0c306fd89dc8758c451750b9d400fb3897e1dd5f67173d54
4
- data.tar.gz: 84c2cc3956c8f12f72520087eeb9798562e88798b5c9928d2a6d716e2c597da8
3
+ metadata.gz: 89623d8ac040e07597d852e0312eb7b192082465c4f94c3fbe045b8d918af818
4
+ data.tar.gz: 69160295000e1e38eedf477ebd6c4eebdb729025e0339cdfd11c91a5678162e5
5
5
  SHA512:
6
- metadata.gz: 2c441c20933bdd6773b2f81cc28e442acbac3b7c8d018a724bbbbf74437d1d9f93b12cb9ab466af5e518dd715c6d37df72842e10a40457833fa040bba2ed2f33
7
- data.tar.gz: 99a2877b3f24fd94d772faf80dfe3170561afb5042d1ded4c9acafa5bb9420e8ef53dcbaefbcb8d4cf25532d45bebb4007c5a4b6acfb757cb6b307422d2aa96c
6
+ metadata.gz: d2594fd698756ba65a5e0ff29a054ae9e7ca6caed3abbe9c4920e5cb3f6806677e0313cc7a50d153b9b0236331fe6af3240e3d128c9f27243b9fcc126ec1d244
7
+ data.tar.gz: c7e6bef6ce2271d00df4ca7fcf676f5ef7d57385bcd82be00bff4a3b6c3f5d25a7a600df1c5d7f1f830d6defee9db3ba5b4a4f1d6e69a26f2f40af6831d7b198
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-integrations_v1alpha
2
2
 
3
+ ### v0.14.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230425
6
+
7
+ ### v0.13.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230409
10
+
3
11
  ### v0.12.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230322
@@ -656,7 +656,7 @@ module Google
656
656
  include Google::Apis::Core::Hashable
657
657
 
658
658
  # Use this request to post all workflows associated with a given trigger id.
659
- # Next available id: 10
659
+ # Next available id: 11
660
660
  # Corresponds to the JSON property `postToQueueWithTriggerIdRequest`
661
661
  # @return [Google::Apis::IntegrationsV1alpha::GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest]
662
662
  attr_accessor :post_to_queue_with_trigger_id_request
@@ -1005,6 +1005,11 @@ module Google
1005
1005
  # @return [Fixnum]
1006
1006
  attr_accessor :task_attempt_num
1007
1007
 
1008
+ # the task label associated with this snapshot. Could be empty.
1009
+ # Corresponds to the JSON property `taskLabel`
1010
+ # @return [String]
1011
+ attr_accessor :task_label
1012
+
1008
1013
  # the task name associated with this snapshot. Could be empty.
1009
1014
  # Corresponds to the JSON property `taskName`
1010
1015
  # @return [String]
@@ -1023,6 +1028,7 @@ module Google
1023
1028
  def update!(**args)
1024
1029
  @event_attempt_num = args[:event_attempt_num] if args.key?(:event_attempt_num)
1025
1030
  @task_attempt_num = args[:task_attempt_num] if args.key?(:task_attempt_num)
1031
+ @task_label = args[:task_label] if args.key?(:task_label)
1026
1032
  @task_name = args[:task_name] if args.key?(:task_name)
1027
1033
  @task_number = args[:task_number] if args.key?(:task_number)
1028
1034
  end
@@ -4853,11 +4859,22 @@ module Google
4853
4859
  # @return [Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable>]
4854
4860
  attr_accessor :additional_variables
4855
4861
 
4862
+ # Identifier key for auth config
4863
+ # Corresponds to the JSON property `authKey`
4864
+ # @return [String]
4865
+ attr_accessor :auth_key
4866
+
4856
4867
  # The type of authentication configured.
4857
4868
  # Corresponds to the JSON property `authType`
4858
4869
  # @return [String]
4859
4870
  attr_accessor :auth_type
4860
4871
 
4872
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
4873
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
4874
+ # Corresponds to the JSON property `oauth2AuthCodeFlow`
4875
+ # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow]
4876
+ attr_accessor :oauth2_auth_code_flow
4877
+
4861
4878
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
4862
4879
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
4863
4880
  # Corresponds to the JSON property `oauth2ClientCredentials`
@@ -4888,7 +4905,9 @@ module Google
4888
4905
  # Update properties of this object
4889
4906
  def update!(**args)
4890
4907
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
4908
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
4891
4909
  @auth_type = args[:auth_type] if args.key?(:auth_type)
4910
+ @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
4892
4911
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
4893
4912
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
4894
4913
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
@@ -4896,6 +4915,63 @@ module Google
4896
4915
  end
4897
4916
  end
4898
4917
 
4918
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
4919
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
4920
+ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
4921
+ include Google::Apis::Core::Hashable
4922
+
4923
+ # Authorization code to be exchanged for access and refresh tokens.
4924
+ # Corresponds to the JSON property `authCode`
4925
+ # @return [String]
4926
+ attr_accessor :auth_code
4927
+
4928
+ # Client ID for user-provided OAuth app.
4929
+ # Corresponds to the JSON property `clientId`
4930
+ # @return [String]
4931
+ attr_accessor :client_id
4932
+
4933
+ # Secret provides a reference to entries in Secret Manager.
4934
+ # Corresponds to the JSON property `clientSecret`
4935
+ # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret]
4936
+ attr_accessor :client_secret
4937
+
4938
+ # Whether to enable PKCE when the user performs the auth code flow.
4939
+ # Corresponds to the JSON property `enablePkce`
4940
+ # @return [Boolean]
4941
+ attr_accessor :enable_pkce
4942
+ alias_method :enable_pkce?, :enable_pkce
4943
+
4944
+ # PKCE verifier to be used during the auth code exchange.
4945
+ # Corresponds to the JSON property `pkceVerifier`
4946
+ # @return [String]
4947
+ attr_accessor :pkce_verifier
4948
+
4949
+ # Redirect URI to be provided during the auth code exchange.
4950
+ # Corresponds to the JSON property `redirectUri`
4951
+ # @return [String]
4952
+ attr_accessor :redirect_uri
4953
+
4954
+ # Scopes the connection will request when the user performs the auth code flow.
4955
+ # Corresponds to the JSON property `scopes`
4956
+ # @return [Array<String>]
4957
+ attr_accessor :scopes
4958
+
4959
+ def initialize(**args)
4960
+ update!(**args)
4961
+ end
4962
+
4963
+ # Update properties of this object
4964
+ def update!(**args)
4965
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
4966
+ @client_id = args[:client_id] if args.key?(:client_id)
4967
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
4968
+ @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
4969
+ @pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
4970
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
4971
+ @scopes = args[:scopes] if args.key?(:scopes)
4972
+ end
4973
+ end
4974
+
4899
4975
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
4900
4976
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
4901
4977
  class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
@@ -5149,6 +5225,11 @@ module Google
5149
5225
  # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LockConfig]
5150
5226
  attr_accessor :lock_config
5151
5227
 
5228
+ # Log configuration for the connection.
5229
+ # Corresponds to the JSON property `logConfig`
5230
+ # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig]
5231
+ attr_accessor :log_config
5232
+
5152
5233
  # Output only. Resource name of the Connection. Format: projects/`project`/
5153
5234
  # locations/`location`/connections/`connection`
5154
5235
  # Corresponds to the JSON property `name`
@@ -5183,6 +5264,12 @@ module Google
5183
5264
  # @return [Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConnectionStatus]
5184
5265
  attr_accessor :status
5185
5266
 
5267
+ # Output only. This subscription type enum value states if the metrics should be
5268
+ # sent for billing or not.
5269
+ # Corresponds to the JSON property `subscriptionType`
5270
+ # @return [String]
5271
+ attr_accessor :subscription_type
5272
+
5186
5273
  # Optional. Suspended indicates if a user has suspended a connection or not.
5187
5274
  # Corresponds to the JSON property `suspended`
5188
5275
  # @return [Boolean]
@@ -5210,12 +5297,14 @@ module Google
5210
5297
  @image_location = args[:image_location] if args.key?(:image_location)
5211
5298
  @labels = args[:labels] if args.key?(:labels)
5212
5299
  @lock_config = args[:lock_config] if args.key?(:lock_config)
5300
+ @log_config = args[:log_config] if args.key?(:log_config)
5213
5301
  @name = args[:name] if args.key?(:name)
5214
5302
  @node_config = args[:node_config] if args.key?(:node_config)
5215
5303
  @service_account = args[:service_account] if args.key?(:service_account)
5216
5304
  @service_directory = args[:service_directory] if args.key?(:service_directory)
5217
5305
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
5218
5306
  @status = args[:status] if args.key?(:status)
5307
+ @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
5219
5308
  @suspended = args[:suspended] if args.key?(:suspended)
5220
5309
  @update_time = args[:update_time] if args.key?(:update_time)
5221
5310
  end
@@ -5335,6 +5424,26 @@ module Google
5335
5424
  end
5336
5425
  end
5337
5426
 
5427
+ # Log configuration for the connection.
5428
+ class GoogleCloudConnectorsV1LogConfig
5429
+ include Google::Apis::Core::Hashable
5430
+
5431
+ # Enabled represents whether logging is enabled or not for a connection.
5432
+ # Corresponds to the JSON property `enabled`
5433
+ # @return [Boolean]
5434
+ attr_accessor :enabled
5435
+ alias_method :enabled?, :enabled
5436
+
5437
+ def initialize(**args)
5438
+ update!(**args)
5439
+ end
5440
+
5441
+ # Update properties of this object
5442
+ def update!(**args)
5443
+ @enabled = args[:enabled] if args.key?(:enabled)
5444
+ end
5445
+ end
5446
+
5338
5447
  # Node configuration for the connection.
5339
5448
  class GoogleCloudConnectorsV1NodeConfig
5340
5449
  include Google::Apis::Core::Hashable
@@ -6505,6 +6614,11 @@ module Google
6505
6614
  # @return [Fixnum]
6506
6615
  attr_accessor :task_attempt
6507
6616
 
6617
+ # the task label associated with this snapshot. Could be empty.
6618
+ # Corresponds to the JSON property `taskLabel`
6619
+ # @return [String]
6620
+ attr_accessor :task_label
6621
+
6508
6622
  # The task number associated with this snapshot.
6509
6623
  # Corresponds to the JSON property `taskNumber`
6510
6624
  # @return [String]
@@ -6519,6 +6633,7 @@ module Google
6519
6633
  @execution_attempt = args[:execution_attempt] if args.key?(:execution_attempt)
6520
6634
  @task = args[:task] if args.key?(:task)
6521
6635
  @task_attempt = args[:task_attempt] if args.key?(:task_attempt)
6636
+ @task_label = args[:task_label] if args.key?(:task_label)
6522
6637
  @task_number = args[:task_number] if args.key?(:task_number)
6523
6638
  end
6524
6639
  end
@@ -8954,7 +9069,7 @@ module Google
8954
9069
  end
8955
9070
 
8956
9071
  # Use this request to post all workflows associated with a given trigger id.
8957
- # Next available id: 10
9072
+ # Next available id: 11
8958
9073
  class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest
8959
9074
  include Google::Apis::Core::Hashable
8960
9075
 
@@ -8997,6 +9112,13 @@ module Google
8997
9112
  # @return [String]
8998
9113
  attr_accessor :request_id
8999
9114
 
9115
+ # This field is only required when using Admin Access. The resource name of
9116
+ # target, or the parent resource name. For example: "projects/*/locations/*/
9117
+ # integrations/*"
9118
+ # Corresponds to the JSON property `resourceName`
9119
+ # @return [String]
9120
+ attr_accessor :resource_name
9121
+
9000
9122
  # Optional. Time in milliseconds since epoch when the given event would be
9001
9123
  # scheduled.
9002
9124
  # Corresponds to the JSON property `scheduledTime`
@@ -9034,6 +9156,7 @@ module Google
9034
9156
  @parameters = args[:parameters] if args.key?(:parameters)
9035
9157
  @priority = args[:priority] if args.key?(:priority)
9036
9158
  @request_id = args[:request_id] if args.key?(:request_id)
9159
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
9037
9160
  @scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time)
9038
9161
  @test_mode = args[:test_mode] if args.key?(:test_mode)
9039
9162
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IntegrationsV1alpha
18
18
  # Version of the google-apis-integrations_v1alpha gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230322"
25
+ REVISION = "20230425"
26
26
  end
27
27
  end
28
28
  end
@@ -748,6 +748,12 @@ module Google
748
748
  include Google::Apis::Core::JsonObjectSupport
749
749
  end
750
750
 
751
+ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
751
757
  class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
752
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
759
 
@@ -814,6 +820,12 @@ module Google
814
820
  include Google::Apis::Core::JsonObjectSupport
815
821
  end
816
822
 
823
+ class GoogleCloudConnectorsV1LogConfig
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
817
829
  class GoogleCloudConnectorsV1NodeConfig
818
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
831
 
@@ -1655,6 +1667,7 @@ module Google
1655
1667
  class Representation < Google::Apis::Core::JsonRepresentation
1656
1668
  property :event_attempt_num, as: 'eventAttemptNum'
1657
1669
  property :task_attempt_num, as: 'taskAttemptNum'
1670
+ property :task_label, as: 'taskLabel'
1658
1671
  property :task_name, as: 'taskName'
1659
1672
  property :task_number, as: 'taskNumber'
1660
1673
  end
@@ -2721,7 +2734,10 @@ module Google
2721
2734
  class Representation < Google::Apis::Core::JsonRepresentation
2722
2735
  collection :additional_variables, as: 'additionalVariables', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable::Representation
2723
2736
 
2737
+ property :auth_key, as: 'authKey'
2724
2738
  property :auth_type, as: 'authType'
2739
+ property :oauth2_auth_code_flow, as: 'oauth2AuthCodeFlow', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow::Representation
2740
+
2725
2741
  property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials::Representation
2726
2742
 
2727
2743
  property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer::Representation
@@ -2733,6 +2749,20 @@ module Google
2733
2749
  end
2734
2750
  end
2735
2751
 
2752
+ class GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
2753
+ # @private
2754
+ class Representation < Google::Apis::Core::JsonRepresentation
2755
+ property :auth_code, as: 'authCode'
2756
+ property :client_id, as: 'clientId'
2757
+ property :client_secret, as: 'clientSecret', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret::Representation
2758
+
2759
+ property :enable_pkce, as: 'enablePkce'
2760
+ property :pkce_verifier, as: 'pkceVerifier'
2761
+ property :redirect_uri, as: 'redirectUri'
2762
+ collection :scopes, as: 'scopes'
2763
+ end
2764
+ end
2765
+
2736
2766
  class GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
2737
2767
  # @private
2738
2768
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2811,6 +2841,8 @@ module Google
2811
2841
  hash :labels, as: 'labels'
2812
2842
  property :lock_config, as: 'lockConfig', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LockConfig, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LockConfig::Representation
2813
2843
 
2844
+ property :log_config, as: 'logConfig', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig::Representation
2845
+
2814
2846
  property :name, as: 'name'
2815
2847
  property :node_config, as: 'nodeConfig', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1NodeConfig, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1NodeConfig::Representation
2816
2848
 
@@ -2820,6 +2852,7 @@ module Google
2820
2852
 
2821
2853
  property :status, as: 'status', class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConnectionStatus, decorator: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConnectionStatus::Representation
2822
2854
 
2855
+ property :subscription_type, as: 'subscriptionType'
2823
2856
  property :suspended, as: 'suspended'
2824
2857
  property :update_time, as: 'updateTime'
2825
2858
  end
@@ -2860,6 +2893,13 @@ module Google
2860
2893
  end
2861
2894
  end
2862
2895
 
2896
+ class GoogleCloudConnectorsV1LogConfig
2897
+ # @private
2898
+ class Representation < Google::Apis::Core::JsonRepresentation
2899
+ property :enabled, as: 'enabled'
2900
+ end
2901
+ end
2902
+
2863
2903
  class GoogleCloudConnectorsV1NodeConfig
2864
2904
  # @private
2865
2905
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3184,6 +3224,7 @@ module Google
3184
3224
  property :execution_attempt, as: 'executionAttempt'
3185
3225
  property :task, as: 'task'
3186
3226
  property :task_attempt, as: 'taskAttempt'
3227
+ property :task_label, as: 'taskLabel'
3187
3228
  property :task_number, as: 'taskNumber'
3188
3229
  end
3189
3230
  end
@@ -3870,6 +3911,7 @@ module Google
3870
3911
 
3871
3912
  property :priority, as: 'priority'
3872
3913
  property :request_id, as: 'requestId'
3914
+ property :resource_name, as: 'resourceName'
3873
3915
  property :scheduled_time, :numeric_string => true, as: 'scheduledTime'
3874
3916
  property :test_mode, as: 'testMode'
3875
3917
  property :trigger_id, as: 'triggerId'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-integrations_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-integrations_v1alpha/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-integrations_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []