google-apis-connectors_v1 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42584d5469fa80289c79743a19f70c6e20bde8d80f6eda33fcc8e7b1b28e01a0
4
- data.tar.gz: 350715dfa09d351f972afdb76ba2d5c30c802b8e3cfe8ba082955970c14329a6
3
+ metadata.gz: 50382dd0ffff5ebb3b5979b886f70625100c0e2bb95f8ab82bae2eee9701d991
4
+ data.tar.gz: 9e84aa21efb6d694afe2850639cc82493183a4d1338e1acf1eb9904d5da7fac5
5
5
  SHA512:
6
- metadata.gz: 865345a298ce8a2ba8bd3fed2d846e93f50466673892d53523a3080a3e89916c1ff3db8826317c45fdb813941f9246130118c509706d94828b74a7ffcdc5bf83
7
- data.tar.gz: '0296fb7504eb8a3f5d48eff7c7ae5db1ebaa7817eae5f54c1ae92548cac289b304ca42559a758c2180a0035ab329882735557617da975fe6bfa744670c4b0d74'
6
+ metadata.gz: f6a97f8578942f52b056445db066e9f8543a65bc248894693bb42eaa2bea69429e71b318eeaa62c458de415865e5d4e2e112e53610e4d6cbebb65633a4bced3c
7
+ data.tar.gz: 7b0294dbb593a84309b542fbc8aa4c4fac6d76202f4cf4358f2a4458192252cd92a100858f955fdeb051b9e9b4ffa7dd742541611217e86cba3d52bc2d1c27af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.27.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230403
6
+
3
7
  ### v0.26.0 (2023-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230318
@@ -107,6 +107,12 @@ module Google
107
107
  # @return [String]
108
108
  attr_accessor :auth_type
109
109
 
110
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
111
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
112
+ # Corresponds to the JSON property `oauth2AuthCodeFlow`
113
+ # @return [Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow]
114
+ attr_accessor :oauth2_auth_code_flow
115
+
110
116
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
111
117
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
112
118
  # Corresponds to the JSON property `oauth2ClientCredentials`
@@ -138,6 +144,7 @@ module Google
138
144
  def update!(**args)
139
145
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
140
146
  @auth_type = args[:auth_type] if args.key?(:auth_type)
147
+ @oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
141
148
  @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
142
149
  @oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
143
150
  @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
@@ -508,6 +515,11 @@ module Google
508
515
  # @return [Google::Apis::ConnectorsV1::LockConfig]
509
516
  attr_accessor :lock_config
510
517
 
518
+ # Log configuration for the connection.
519
+ # Corresponds to the JSON property `logConfig`
520
+ # @return [Google::Apis::ConnectorsV1::ConnectorsLogConfig]
521
+ attr_accessor :log_config
522
+
511
523
  # Output only. Resource name of the Connection. Format: projects/`project`/
512
524
  # locations/`location`/connections/`connection`
513
525
  # Corresponds to the JSON property `name`
@@ -569,6 +581,7 @@ module Google
569
581
  @image_location = args[:image_location] if args.key?(:image_location)
570
582
  @labels = args[:labels] if args.key?(:labels)
571
583
  @lock_config = args[:lock_config] if args.key?(:lock_config)
584
+ @log_config = args[:log_config] if args.key?(:log_config)
572
585
  @name = args[:name] if args.key?(:name)
573
586
  @node_config = args[:node_config] if args.key?(:node_config)
574
587
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -760,6 +773,11 @@ module Google
760
773
  # @return [String]
761
774
  attr_accessor :create_time
762
775
 
776
+ # Output only. List of destination configs needed to create a connection.
777
+ # Corresponds to the JSON property `destinationConfigTemplates`
778
+ # @return [Array<Google::Apis::ConnectorsV1::DestinationConfigTemplate>]
779
+ attr_accessor :destination_config_templates
780
+
763
781
  # Output only. Display name.
764
782
  # Corresponds to the JSON property `displayName`
765
783
  # @return [String]
@@ -838,6 +856,7 @@ module Google
838
856
  @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
839
857
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
840
858
  @create_time = args[:create_time] if args.key?(:create_time)
859
+ @destination_config_templates = args[:destination_config_templates] if args.key?(:destination_config_templates)
841
860
  @display_name = args[:display_name] if args.key?(:display_name)
842
861
  @egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
843
862
  @labels = args[:labels] if args.key?(:labels)
@@ -852,6 +871,26 @@ module Google
852
871
  end
853
872
  end
854
873
 
874
+ # Log configuration for the connection.
875
+ class ConnectorsLogConfig
876
+ include Google::Apis::Core::Hashable
877
+
878
+ # Enabled represents whether logging is enabled or not for a connection.
879
+ # Corresponds to the JSON property `enabled`
880
+ # @return [Boolean]
881
+ attr_accessor :enabled
882
+ alias_method :enabled?, :enabled
883
+
884
+ def initialize(**args)
885
+ update!(**args)
886
+ end
887
+
888
+ # Update properties of this object
889
+ def update!(**args)
890
+ @enabled = args[:enabled] if args.key?(:enabled)
891
+ end
892
+ end
893
+
855
894
  #
856
895
  class Destination
857
896
  include Google::Apis::Core::Hashable
@@ -908,6 +947,75 @@ module Google
908
947
  end
909
948
  end
910
949
 
950
+ # DestinationConfigTemplate defines required destinations supported by the
951
+ # Connector.
952
+ class DestinationConfigTemplate
953
+ include Google::Apis::Core::Hashable
954
+
955
+ # The default port.
956
+ # Corresponds to the JSON property `defaultPort`
957
+ # @return [Fixnum]
958
+ attr_accessor :default_port
959
+
960
+ # Description.
961
+ # Corresponds to the JSON property `description`
962
+ # @return [String]
963
+ attr_accessor :description
964
+
965
+ # Display name of the parameter.
966
+ # Corresponds to the JSON property `displayName`
967
+ # @return [String]
968
+ attr_accessor :display_name
969
+
970
+ # Whether the current destination tempalate is part of Advanced settings
971
+ # Corresponds to the JSON property `isAdvanced`
972
+ # @return [Boolean]
973
+ attr_accessor :is_advanced
974
+ alias_method :is_advanced?, :is_advanced
975
+
976
+ # Key of the destination.
977
+ # Corresponds to the JSON property `key`
978
+ # @return [String]
979
+ attr_accessor :key
980
+
981
+ # The maximum number of destinations supported for this key.
982
+ # Corresponds to the JSON property `max`
983
+ # @return [Fixnum]
984
+ attr_accessor :max
985
+
986
+ # The minimum number of destinations supported for this key.
987
+ # Corresponds to the JSON property `min`
988
+ # @return [Fixnum]
989
+ attr_accessor :min
990
+
991
+ # Whether port number should be provided by customers.
992
+ # Corresponds to the JSON property `portFieldType`
993
+ # @return [String]
994
+ attr_accessor :port_field_type
995
+
996
+ # Regex pattern for host.
997
+ # Corresponds to the JSON property `regexPattern`
998
+ # @return [String]
999
+ attr_accessor :regex_pattern
1000
+
1001
+ def initialize(**args)
1002
+ update!(**args)
1003
+ end
1004
+
1005
+ # Update properties of this object
1006
+ def update!(**args)
1007
+ @default_port = args[:default_port] if args.key?(:default_port)
1008
+ @description = args[:description] if args.key?(:description)
1009
+ @display_name = args[:display_name] if args.key?(:display_name)
1010
+ @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
1011
+ @key = args[:key] if args.key?(:key)
1012
+ @max = args[:max] if args.key?(:max)
1013
+ @min = args[:min] if args.key?(:min)
1014
+ @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
1015
+ @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
1016
+ end
1017
+ end
1018
+
911
1019
  # Egress control config for connector runtime. These configurations define the
912
1020
  # rules to identify which outbound domains/hosts needs to be whitelisted. It may
913
1021
  # be a static information for a particular connector version or it is derived
@@ -1546,6 +1654,63 @@ module Google
1546
1654
  end
1547
1655
  end
1548
1656
 
1657
+ # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
1658
+ # www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
1659
+ class Oauth2AuthCodeFlow
1660
+ include Google::Apis::Core::Hashable
1661
+
1662
+ # Authorization code to be exchanged for access and refresh tokens.
1663
+ # Corresponds to the JSON property `authCode`
1664
+ # @return [String]
1665
+ attr_accessor :auth_code
1666
+
1667
+ # Client ID for user-provided OAuth app.
1668
+ # Corresponds to the JSON property `clientId`
1669
+ # @return [String]
1670
+ attr_accessor :client_id
1671
+
1672
+ # Secret provides a reference to entries in Secret Manager.
1673
+ # Corresponds to the JSON property `clientSecret`
1674
+ # @return [Google::Apis::ConnectorsV1::Secret]
1675
+ attr_accessor :client_secret
1676
+
1677
+ # Whether to enable PKCE when the user performs the auth code flow.
1678
+ # Corresponds to the JSON property `enablePkce`
1679
+ # @return [Boolean]
1680
+ attr_accessor :enable_pkce
1681
+ alias_method :enable_pkce?, :enable_pkce
1682
+
1683
+ # PKCE verifier to be used during the auth code exchange.
1684
+ # Corresponds to the JSON property `pkceVerifier`
1685
+ # @return [String]
1686
+ attr_accessor :pkce_verifier
1687
+
1688
+ # Redirect URI to be provided during the auth code exchange.
1689
+ # Corresponds to the JSON property `redirectUri`
1690
+ # @return [String]
1691
+ attr_accessor :redirect_uri
1692
+
1693
+ # Scopes the connection will request when the user performs the auth code flow.
1694
+ # Corresponds to the JSON property `scopes`
1695
+ # @return [Array<String>]
1696
+ attr_accessor :scopes
1697
+
1698
+ def initialize(**args)
1699
+ update!(**args)
1700
+ end
1701
+
1702
+ # Update properties of this object
1703
+ def update!(**args)
1704
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
1705
+ @client_id = args[:client_id] if args.key?(:client_id)
1706
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1707
+ @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
1708
+ @pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
1709
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
1710
+ @scopes = args[:scopes] if args.key?(:scopes)
1711
+ end
1712
+ end
1713
+
1549
1714
  # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
1550
1715
  # https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
1551
1716
  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.27.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 = "20230403"
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
 
@@ -411,6 +429,8 @@ module Google
411
429
  collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
412
430
 
413
431
  property :auth_type, as: 'authType'
432
+ property :oauth2_auth_code_flow, as: 'oauth2AuthCodeFlow', class: Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow, decorator: Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow::Representation
433
+
414
434
  property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::ConnectorsV1::Oauth2ClientCredentials, decorator: Google::Apis::ConnectorsV1::Oauth2ClientCredentials::Representation
415
435
 
416
436
  property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::ConnectorsV1::Oauth2JwtBearer, decorator: Google::Apis::ConnectorsV1::Oauth2JwtBearer::Representation
@@ -508,6 +528,8 @@ module Google
508
528
  hash :labels, as: 'labels'
509
529
  property :lock_config, as: 'lockConfig', class: Google::Apis::ConnectorsV1::LockConfig, decorator: Google::Apis::ConnectorsV1::LockConfig::Representation
510
530
 
531
+ property :log_config, as: 'logConfig', class: Google::Apis::ConnectorsV1::ConnectorsLogConfig, decorator: Google::Apis::ConnectorsV1::ConnectorsLogConfig::Representation
532
+
511
533
  property :name, as: 'name'
512
534
  property :node_config, as: 'nodeConfig', class: Google::Apis::ConnectorsV1::NodeConfig, decorator: Google::Apis::ConnectorsV1::NodeConfig::Representation
513
535
 
@@ -567,6 +589,8 @@ module Google
567
589
  collection :config_variable_templates, as: 'configVariableTemplates', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
568
590
 
569
591
  property :create_time, as: 'createTime'
592
+ collection :destination_config_templates, as: 'destinationConfigTemplates', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
593
+
570
594
  property :display_name, as: 'displayName'
571
595
  property :egress_control_config, as: 'egressControlConfig', class: Google::Apis::ConnectorsV1::EgressControlConfig, decorator: Google::Apis::ConnectorsV1::EgressControlConfig::Representation
572
596
 
@@ -586,6 +610,13 @@ module Google
586
610
  end
587
611
  end
588
612
 
613
+ class ConnectorsLogConfig
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :enabled, as: 'enabled'
617
+ end
618
+ end
619
+
589
620
  class Destination
590
621
  # @private
591
622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -604,6 +635,21 @@ module Google
604
635
  end
605
636
  end
606
637
 
638
+ class DestinationConfigTemplate
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :default_port, as: 'defaultPort'
642
+ property :description, as: 'description'
643
+ property :display_name, as: 'displayName'
644
+ property :is_advanced, as: 'isAdvanced'
645
+ property :key, as: 'key'
646
+ property :max, as: 'max'
647
+ property :min, as: 'min'
648
+ property :port_field_type, as: 'portFieldType'
649
+ property :regex_pattern, as: 'regexPattern'
650
+ end
651
+ end
652
+
607
653
  class EgressControlConfig
608
654
  # @private
609
655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -791,6 +837,20 @@ module Google
791
837
  end
792
838
  end
793
839
 
840
+ class Oauth2AuthCodeFlow
841
+ # @private
842
+ class Representation < Google::Apis::Core::JsonRepresentation
843
+ property :auth_code, as: 'authCode'
844
+ property :client_id, as: 'clientId'
845
+ property :client_secret, as: 'clientSecret', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
846
+
847
+ property :enable_pkce, as: 'enablePkce'
848
+ property :pkce_verifier, as: 'pkceVerifier'
849
+ property :redirect_uri, as: 'redirectUri'
850
+ collection :scopes, as: 'scopes'
851
+ end
852
+ end
853
+
794
854
  class Oauth2ClientCredentials
795
855
  # @private
796
856
  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.27.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-16 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.27.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: []