google-apis-connectors_v1 0.26.0 → 0.28.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: 42584d5469fa80289c79743a19f70c6e20bde8d80f6eda33fcc8e7b1b28e01a0
4
- data.tar.gz: 350715dfa09d351f972afdb76ba2d5c30c802b8e3cfe8ba082955970c14329a6
3
+ metadata.gz: beb86da61024256c7496c8d289753a32ac793ce613def508b75f90028a6cd988
4
+ data.tar.gz: 566a46042c69039f04483ccd1a50c8654bf91a5fb6fe6d027171325a29abe3a4
5
5
  SHA512:
6
- metadata.gz: 865345a298ce8a2ba8bd3fed2d846e93f50466673892d53523a3080a3e89916c1ff3db8826317c45fdb813941f9246130118c509706d94828b74a7ffcdc5bf83
7
- data.tar.gz: '0296fb7504eb8a3f5d48eff7c7ae5db1ebaa7817eae5f54c1ae92548cac289b304ca42559a758c2180a0035ab329882735557617da975fe6bfa744670c4b0d74'
6
+ metadata.gz: 6441367af859b018855714ca3b5c20fc5296d02b35c7125a05e5da2a098355967f8263643f8a1cb1ae797e58f7db2f4a13e450a6621bfa698dcc2d09aca1a8b3
7
+ data.tar.gz: 940eccc6c7b9bb2d88630ed5979d8776e545774289d3e2de63df83e2f1cdf2562b3bf977184ce87c1d093003c13760a18fbd80213dd5d1253b3c49e147ad47b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.28.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230417
6
+
7
+ ### v0.27.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230403
10
+
3
11
  ### v0.26.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230318
@@ -102,11 +102,22 @@ module Google
102
102
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
103
103
  attr_accessor :additional_variables
104
104
 
105
+ # Identifier key for auth config
106
+ # Corresponds to the JSON property `authKey`
107
+ # @return [String]
108
+ attr_accessor :auth_key
109
+
105
110
  # The type of authentication configured.
106
111
  # Corresponds to the JSON property `authType`
107
112
  # @return [String]
108
113
  attr_accessor :auth_type
109
114
 
115
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
116
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
117
+ # Corresponds to the JSON property `oauth2AuthCodeFlow`
118
+ # @return [Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow]
119
+ attr_accessor :oauth2_auth_code_flow
120
+
110
121
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
111
122
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
112
123
  # Corresponds to the JSON property `oauth2ClientCredentials`
@@ -137,7 +148,9 @@ module Google
137
148
  # Update properties of this object
138
149
  def update!(**args)
139
150
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
151
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
140
152
  @auth_type = args[:auth_type] if args.key?(:auth_type)
153
+ @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
141
154
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
142
155
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
143
156
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
@@ -149,6 +162,11 @@ module Google
149
162
  class AuthConfigTemplate
150
163
  include Google::Apis::Core::Hashable
151
164
 
165
+ # Identifier key for auth config
166
+ # Corresponds to the JSON property `authKey`
167
+ # @return [String]
168
+ attr_accessor :auth_key
169
+
152
170
  # The type of authentication configured.
153
171
  # Corresponds to the JSON property `authType`
154
172
  # @return [String]
@@ -175,6 +193,7 @@ module Google
175
193
 
176
194
  # Update properties of this object
177
195
  def update!(**args)
196
+ @auth_key = args[:auth_key] if args.key?(:auth_key)
178
197
  @auth_type = args[:auth_type] if args.key?(:auth_type)
179
198
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
180
199
  @description = args[:description] if args.key?(:description)
@@ -508,6 +527,11 @@ module Google
508
527
  # @return [Google::Apis::ConnectorsV1::LockConfig]
509
528
  attr_accessor :lock_config
510
529
 
530
+ # Log configuration for the connection.
531
+ # Corresponds to the JSON property `logConfig`
532
+ # @return [Google::Apis::ConnectorsV1::ConnectorsLogConfig]
533
+ attr_accessor :log_config
534
+
511
535
  # Output only. Resource name of the Connection. Format: projects/`project`/
512
536
  # locations/`location`/connections/`connection`
513
537
  # Corresponds to the JSON property `name`
@@ -569,6 +593,7 @@ module Google
569
593
  @image_location = args[:image_location] if args.key?(:image_location)
570
594
  @labels = args[:labels] if args.key?(:labels)
571
595
  @lock_config = args[:lock_config] if args.key?(:lock_config)
596
+ @log_config = args[:log_config] if args.key?(:log_config)
572
597
  @name = args[:name] if args.key?(:name)
573
598
  @node_config = args[:node_config] if args.key?(:node_config)
574
599
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -760,6 +785,11 @@ module Google
760
785
  # @return [String]
761
786
  attr_accessor :create_time
762
787
 
788
+ # Output only. List of destination configs needed to create a connection.
789
+ # Corresponds to the JSON property `destinationConfigTemplates`
790
+ # @return [Array<Google::Apis::ConnectorsV1::DestinationConfigTemplate>]
791
+ attr_accessor :destination_config_templates
792
+
763
793
  # Output only. Display name.
764
794
  # Corresponds to the JSON property `displayName`
765
795
  # @return [String]
@@ -838,6 +868,7 @@ module Google
838
868
  @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
839
869
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
840
870
  @create_time = args[:create_time] if args.key?(:create_time)
871
+ @destination_config_templates = args[:destination_config_templates] if args.key?(:destination_config_templates)
841
872
  @display_name = args[:display_name] if args.key?(:display_name)
842
873
  @egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
843
874
  @labels = args[:labels] if args.key?(:labels)
@@ -852,6 +883,26 @@ module Google
852
883
  end
853
884
  end
854
885
 
886
+ # Log configuration for the connection.
887
+ class ConnectorsLogConfig
888
+ include Google::Apis::Core::Hashable
889
+
890
+ # Enabled represents whether logging is enabled or not for a connection.
891
+ # Corresponds to the JSON property `enabled`
892
+ # @return [Boolean]
893
+ attr_accessor :enabled
894
+ alias_method :enabled?, :enabled
895
+
896
+ def initialize(**args)
897
+ update!(**args)
898
+ end
899
+
900
+ # Update properties of this object
901
+ def update!(**args)
902
+ @enabled = args[:enabled] if args.key?(:enabled)
903
+ end
904
+ end
905
+
855
906
  #
856
907
  class Destination
857
908
  include Google::Apis::Core::Hashable
@@ -908,6 +959,75 @@ module Google
908
959
  end
909
960
  end
910
961
 
962
+ # DestinationConfigTemplate defines required destinations supported by the
963
+ # Connector.
964
+ class DestinationConfigTemplate
965
+ include Google::Apis::Core::Hashable
966
+
967
+ # The default port.
968
+ # Corresponds to the JSON property `defaultPort`
969
+ # @return [Fixnum]
970
+ attr_accessor :default_port
971
+
972
+ # Description.
973
+ # Corresponds to the JSON property `description`
974
+ # @return [String]
975
+ attr_accessor :description
976
+
977
+ # Display name of the parameter.
978
+ # Corresponds to the JSON property `displayName`
979
+ # @return [String]
980
+ attr_accessor :display_name
981
+
982
+ # Whether the current destination tempalate is part of Advanced settings
983
+ # Corresponds to the JSON property `isAdvanced`
984
+ # @return [Boolean]
985
+ attr_accessor :is_advanced
986
+ alias_method :is_advanced?, :is_advanced
987
+
988
+ # Key of the destination.
989
+ # Corresponds to the JSON property `key`
990
+ # @return [String]
991
+ attr_accessor :key
992
+
993
+ # The maximum number of destinations supported for this key.
994
+ # Corresponds to the JSON property `max`
995
+ # @return [Fixnum]
996
+ attr_accessor :max
997
+
998
+ # The minimum number of destinations supported for this key.
999
+ # Corresponds to the JSON property `min`
1000
+ # @return [Fixnum]
1001
+ attr_accessor :min
1002
+
1003
+ # Whether port number should be provided by customers.
1004
+ # Corresponds to the JSON property `portFieldType`
1005
+ # @return [String]
1006
+ attr_accessor :port_field_type
1007
+
1008
+ # Regex pattern for host.
1009
+ # Corresponds to the JSON property `regexPattern`
1010
+ # @return [String]
1011
+ attr_accessor :regex_pattern
1012
+
1013
+ def initialize(**args)
1014
+ update!(**args)
1015
+ end
1016
+
1017
+ # Update properties of this object
1018
+ def update!(**args)
1019
+ @default_port = args[:default_port] if args.key?(:default_port)
1020
+ @description = args[:description] if args.key?(:description)
1021
+ @display_name = args[:display_name] if args.key?(:display_name)
1022
+ @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
1023
+ @key = args[:key] if args.key?(:key)
1024
+ @max = args[:max] if args.key?(:max)
1025
+ @min = args[:min] if args.key?(:min)
1026
+ @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
1027
+ @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
1028
+ end
1029
+ end
1030
+
911
1031
  # Egress control config for connector runtime. These configurations define the
912
1032
  # rules to identify which outbound domains/hosts needs to be whitelisted. It may
913
1033
  # be a static information for a particular connector version or it is derived
@@ -1546,6 +1666,63 @@ module Google
1546
1666
  end
1547
1667
  end
1548
1668
 
1669
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
1670
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
1671
+ class Oauth2AuthCodeFlow
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # Authorization code to be exchanged for access and refresh tokens.
1675
+ # Corresponds to the JSON property `authCode`
1676
+ # @return [String]
1677
+ attr_accessor :auth_code
1678
+
1679
+ # Client ID for user-provided OAuth app.
1680
+ # Corresponds to the JSON property `clientId`
1681
+ # @return [String]
1682
+ attr_accessor :client_id
1683
+
1684
+ # Secret provides a reference to entries in Secret Manager.
1685
+ # Corresponds to the JSON property `clientSecret`
1686
+ # @return [Google::Apis::ConnectorsV1::Secret]
1687
+ attr_accessor :client_secret
1688
+
1689
+ # Whether to enable PKCE when the user performs the auth code flow.
1690
+ # Corresponds to the JSON property `enablePkce`
1691
+ # @return [Boolean]
1692
+ attr_accessor :enable_pkce
1693
+ alias_method :enable_pkce?, :enable_pkce
1694
+
1695
+ # PKCE verifier to be used during the auth code exchange.
1696
+ # Corresponds to the JSON property `pkceVerifier`
1697
+ # @return [String]
1698
+ attr_accessor :pkce_verifier
1699
+
1700
+ # Redirect URI to be provided during the auth code exchange.
1701
+ # Corresponds to the JSON property `redirectUri`
1702
+ # @return [String]
1703
+ attr_accessor :redirect_uri
1704
+
1705
+ # Scopes the connection will request when the user performs the auth code flow.
1706
+ # Corresponds to the JSON property `scopes`
1707
+ # @return [Array<String>]
1708
+ attr_accessor :scopes
1709
+
1710
+ def initialize(**args)
1711
+ update!(**args)
1712
+ end
1713
+
1714
+ # Update properties of this object
1715
+ def update!(**args)
1716
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
1717
+ @client_id = args[:client_id] if args.key?(:client_id)
1718
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1719
+ @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
1720
+ @pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
1721
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
1722
+ @scopes = args[:scopes] if args.key?(:scopes)
1723
+ end
1724
+ end
1725
+
1549
1726
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
1550
1727
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
1551
1728
  class Oauth2ClientCredentials
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV1
18
18
  # Version of the google-apis-connectors_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.28.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 = "20230318"
25
+ REVISION = "20230417"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class ConnectorsLogConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class Destination
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class DestinationConfigTemplate
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class EgressControlConfig
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -238,6 +250,12 @@ module Google
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class Oauth2AuthCodeFlow
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
241
259
  class Oauth2ClientCredentials
242
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
261
 
@@ -410,7 +428,10 @@ module Google
410
428
  class Representation < Google::Apis::Core::JsonRepresentation
411
429
  collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
412
430
 
431
+ property :auth_key, as: 'authKey'
413
432
  property :auth_type, as: 'authType'
433
+ property :oauth2_auth_code_flow, as: 'oauth2AuthCodeFlow', class: Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow, decorator: Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow::Representation
434
+
414
435
  property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::ConnectorsV1::Oauth2ClientCredentials, decorator: Google::Apis::ConnectorsV1::Oauth2ClientCredentials::Representation
415
436
 
416
437
  property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::ConnectorsV1::Oauth2JwtBearer, decorator: Google::Apis::ConnectorsV1::Oauth2JwtBearer::Representation
@@ -425,6 +446,7 @@ module Google
425
446
  class AuthConfigTemplate
426
447
  # @private
427
448
  class Representation < Google::Apis::Core::JsonRepresentation
449
+ property :auth_key, as: 'authKey'
428
450
  property :auth_type, as: 'authType'
429
451
  collection :config_variable_templates, as: 'configVariableTemplates', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
430
452
 
@@ -508,6 +530,8 @@ module Google
508
530
  hash :labels, as: 'labels'
509
531
  property :lock_config, as: 'lockConfig', class: Google::Apis::ConnectorsV1::LockConfig, decorator: Google::Apis::ConnectorsV1::LockConfig::Representation
510
532
 
533
+ property :log_config, as: 'logConfig', class: Google::Apis::ConnectorsV1::ConnectorsLogConfig, decorator: Google::Apis::ConnectorsV1::ConnectorsLogConfig::Representation
534
+
511
535
  property :name, as: 'name'
512
536
  property :node_config, as: 'nodeConfig', class: Google::Apis::ConnectorsV1::NodeConfig, decorator: Google::Apis::ConnectorsV1::NodeConfig::Representation
513
537
 
@@ -567,6 +591,8 @@ module Google
567
591
  collection :config_variable_templates, as: 'configVariableTemplates', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
568
592
 
569
593
  property :create_time, as: 'createTime'
594
+ collection :destination_config_templates, as: 'destinationConfigTemplates', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
595
+
570
596
  property :display_name, as: 'displayName'
571
597
  property :egress_control_config, as: 'egressControlConfig', class: Google::Apis::ConnectorsV1::EgressControlConfig, decorator: Google::Apis::ConnectorsV1::EgressControlConfig::Representation
572
598
 
@@ -586,6 +612,13 @@ module Google
586
612
  end
587
613
  end
588
614
 
615
+ class ConnectorsLogConfig
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :enabled, as: 'enabled'
619
+ end
620
+ end
621
+
589
622
  class Destination
590
623
  # @private
591
624
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -604,6 +637,21 @@ module Google
604
637
  end
605
638
  end
606
639
 
640
+ class DestinationConfigTemplate
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :default_port, as: 'defaultPort'
644
+ property :description, as: 'description'
645
+ property :display_name, as: 'displayName'
646
+ property :is_advanced, as: 'isAdvanced'
647
+ property :key, as: 'key'
648
+ property :max, as: 'max'
649
+ property :min, as: 'min'
650
+ property :port_field_type, as: 'portFieldType'
651
+ property :regex_pattern, as: 'regexPattern'
652
+ end
653
+ end
654
+
607
655
  class EgressControlConfig
608
656
  # @private
609
657
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -791,6 +839,20 @@ module Google
791
839
  end
792
840
  end
793
841
 
842
+ class Oauth2AuthCodeFlow
843
+ # @private
844
+ class Representation < Google::Apis::Core::JsonRepresentation
845
+ property :auth_code, as: 'authCode'
846
+ property :client_id, as: 'clientId'
847
+ property :client_secret, as: 'clientSecret', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
848
+
849
+ property :enable_pkce, as: 'enablePkce'
850
+ property :pkce_verifier, as: 'pkceVerifier'
851
+ property :redirect_uri, as: 'redirectUri'
852
+ collection :scopes, as: 'scopes'
853
+ end
854
+ end
855
+
794
856
  class Oauth2ClientCredentials
795
857
  # @private
796
858
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.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-03-26 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-connectors_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
63
63
  post_install_message:
64
64
  rdoc_options: []