google-apis-connectors_v1 0.24.0 → 0.25.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: 5e76fe7ded51533af9ebc0075e9e8590221d8978d0f96a72bf4fe1ef400c8daa
4
- data.tar.gz: 81c080cf81ac4489063ae24ee81409c8598fcf5ff765c6fe241539b60b248b7f
3
+ metadata.gz: 8ba1d63e77efcfd50e89aea71ba0bbcf493c834a5350ae3821bf7ddff744d6f9
4
+ data.tar.gz: 2741cd3e3940f81d40003445c06aeb584331f50a70fac42b7db0cbbc86f72736
5
5
  SHA512:
6
- metadata.gz: 5c880056623a64d86ca911be2a723f4144d10207fa7a8db8ffe2e5a66964a33e780991fe67019c84bc2855f7c71a7caf3d3ebb08a3b5f97c45c3fcb5b7850bbf
7
- data.tar.gz: 7c92119b085ab262fd1e942cc35160575ad0f8321073c6bade34f9210d2de94e368e009f54c9f4e42e4b7db9855783fa3c94dfc196cb6b90cd7ec348db1e1777
6
+ metadata.gz: a7bf8f6a7aa4f4b879418b969eab99bcb9d1aaf5aa366f7dabd48de294debea489c97846ddfd93a05c58f76c03e2207105467bb887e321935b4e244d93fadc54
7
+ data.tar.gz: 9866f02e71d18a00c9988f0893f7de2b35f342fc762efac390a9a128802d6a81533d2b780a45ab54228e7a40a4f1b387befd0b4b60ed9a5a63a87cd191f929fa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.25.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230222
6
+
3
7
  ### v0.24.0 (2023-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230208
@@ -383,6 +383,12 @@ module Google
383
383
  # @return [Array<Google::Apis::ConnectorsV1::EnumOption>]
384
384
  attr_accessor :enum_options
385
385
 
386
+ # Indicates if current template is part of advanced settings
387
+ # Corresponds to the JSON property `isAdvanced`
388
+ # @return [Boolean]
389
+ attr_accessor :is_advanced
390
+ alias_method :is_advanced?, :is_advanced
391
+
386
392
  # Key of the config variable.
387
393
  # Corresponds to the JSON property `key`
388
394
  # @return [String]
@@ -430,6 +436,7 @@ module Google
430
436
  @description = args[:description] if args.key?(:description)
431
437
  @display_name = args[:display_name] if args.key?(:display_name)
432
438
  @enum_options = args[:enum_options] if args.key?(:enum_options)
439
+ @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
433
440
  @key = args[:key] if args.key?(:key)
434
441
  @required = args[:required] if args.key?(:required)
435
442
  @role_grant = args[:role_grant] if args.key?(:role_grant)
@@ -525,6 +532,11 @@ module Google
525
532
  # @return [String]
526
533
  attr_accessor :service_directory
527
534
 
535
+ # SSL Configuration of a connection
536
+ # Corresponds to the JSON property `sslConfig`
537
+ # @return [Google::Apis::ConnectorsV1::SslConfig]
538
+ attr_accessor :ssl_config
539
+
528
540
  # ConnectionStatus indicates the state of the connection.
529
541
  # Corresponds to the JSON property `status`
530
542
  # @return [Google::Apis::ConnectorsV1::ConnectionStatus]
@@ -561,6 +573,7 @@ module Google
561
573
  @node_config = args[:node_config] if args.key?(:node_config)
562
574
  @service_account = args[:service_account] if args.key?(:service_account)
563
575
  @service_directory = args[:service_directory] if args.key?(:service_directory)
576
+ @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
564
577
  @status = args[:status] if args.key?(:status)
565
578
  @suspended = args[:suspended] if args.key?(:suspended)
566
579
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -798,6 +811,11 @@ module Google
798
811
  # @return [Array<Google::Apis::ConnectorsV1::RoleGrant>]
799
812
  attr_accessor :role_grants
800
813
 
814
+ # Ssl config details of a connector version
815
+ # Corresponds to the JSON property `sslConfigTemplate`
816
+ # @return [Google::Apis::ConnectorsV1::SslConfigTemplate]
817
+ attr_accessor :ssl_config_template
818
+
801
819
  # Supported runtime features of a connector version. This is passed to the
802
820
  # management layer to add a new connector version by the connector developer.
803
821
  # Details about how this proto is passed to the management layer is covered in
@@ -828,6 +846,7 @@ module Google
828
846
  @release_version = args[:release_version] if args.key?(:release_version)
829
847
  @role_grant = args[:role_grant] if args.key?(:role_grant)
830
848
  @role_grants = args[:role_grants] if args.key?(:role_grants)
849
+ @ssl_config_template = args[:ssl_config_template] if args.key?(:ssl_config_template)
831
850
  @supported_runtime_features = args[:supported_runtime_features] if args.key?(:supported_runtime_features)
832
851
  @update_time = args[:update_time] if args.key?(:update_time)
833
852
  end
@@ -2256,6 +2275,124 @@ module Google
2256
2275
  end
2257
2276
  end
2258
2277
 
2278
+ # SSL Configuration of a connection
2279
+ class SslConfig
2280
+ include Google::Apis::Core::Hashable
2281
+
2282
+ # Additional SSL related field values
2283
+ # Corresponds to the JSON property `additionalVariables`
2284
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
2285
+ attr_accessor :additional_variables
2286
+
2287
+ # Type of Client Cert (PEM/JKS/.. etc.)
2288
+ # Corresponds to the JSON property `clientCertType`
2289
+ # @return [String]
2290
+ attr_accessor :client_cert_type
2291
+
2292
+ # Secret provides a reference to entries in Secret Manager.
2293
+ # Corresponds to the JSON property `clientCertificate`
2294
+ # @return [Google::Apis::ConnectorsV1::Secret]
2295
+ attr_accessor :client_certificate
2296
+
2297
+ # Secret provides a reference to entries in Secret Manager.
2298
+ # Corresponds to the JSON property `clientPrivateKey`
2299
+ # @return [Google::Apis::ConnectorsV1::Secret]
2300
+ attr_accessor :client_private_key
2301
+
2302
+ # Secret provides a reference to entries in Secret Manager.
2303
+ # Corresponds to the JSON property `clientPrivateKeyPass`
2304
+ # @return [Google::Apis::ConnectorsV1::Secret]
2305
+ attr_accessor :client_private_key_pass
2306
+
2307
+ # Secret provides a reference to entries in Secret Manager.
2308
+ # Corresponds to the JSON property `privateServerCertificate`
2309
+ # @return [Google::Apis::ConnectorsV1::Secret]
2310
+ attr_accessor :private_server_certificate
2311
+
2312
+ # Type of Server Cert (PEM/JKS/.. etc.)
2313
+ # Corresponds to the JSON property `serverCertType`
2314
+ # @return [String]
2315
+ attr_accessor :server_cert_type
2316
+
2317
+ # Trust Model of the SSL connection
2318
+ # Corresponds to the JSON property `trustModel`
2319
+ # @return [String]
2320
+ attr_accessor :trust_model
2321
+
2322
+ # Controls the ssl type for the given connector version.
2323
+ # Corresponds to the JSON property `type`
2324
+ # @return [String]
2325
+ attr_accessor :type
2326
+
2327
+ # Bool for enabling SSL
2328
+ # Corresponds to the JSON property `useSsl`
2329
+ # @return [Boolean]
2330
+ attr_accessor :use_ssl
2331
+ alias_method :use_ssl?, :use_ssl
2332
+
2333
+ def initialize(**args)
2334
+ update!(**args)
2335
+ end
2336
+
2337
+ # Update properties of this object
2338
+ def update!(**args)
2339
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
2340
+ @client_cert_type = args[:client_cert_type] if args.key?(:client_cert_type)
2341
+ @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
2342
+ @client_private_key = args[:client_private_key] if args.key?(:client_private_key)
2343
+ @client_private_key_pass = args[:client_private_key_pass] if args.key?(:client_private_key_pass)
2344
+ @private_server_certificate = args[:private_server_certificate] if args.key?(:private_server_certificate)
2345
+ @server_cert_type = args[:server_cert_type] if args.key?(:server_cert_type)
2346
+ @trust_model = args[:trust_model] if args.key?(:trust_model)
2347
+ @type = args[:type] if args.key?(:type)
2348
+ @use_ssl = args[:use_ssl] if args.key?(:use_ssl)
2349
+ end
2350
+ end
2351
+
2352
+ # Ssl config details of a connector version
2353
+ class SslConfigTemplate
2354
+ include Google::Apis::Core::Hashable
2355
+
2356
+ # Any additional fields that need to be rendered
2357
+ # Corresponds to the JSON property `additionalVariables`
2358
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
2359
+ attr_accessor :additional_variables
2360
+
2361
+ # List of supported Client Cert Types
2362
+ # Corresponds to the JSON property `clientCertType`
2363
+ # @return [Array<String>]
2364
+ attr_accessor :client_cert_type
2365
+
2366
+ # Boolean for determining if the connector version mandates TLS.
2367
+ # Corresponds to the JSON property `isTlsMandatory`
2368
+ # @return [Boolean]
2369
+ attr_accessor :is_tls_mandatory
2370
+ alias_method :is_tls_mandatory?, :is_tls_mandatory
2371
+
2372
+ # List of supported Server Cert Types
2373
+ # Corresponds to the JSON property `serverCertType`
2374
+ # @return [Array<String>]
2375
+ attr_accessor :server_cert_type
2376
+
2377
+ # Controls the ssl type for the given connector version
2378
+ # Corresponds to the JSON property `sslType`
2379
+ # @return [String]
2380
+ attr_accessor :ssl_type
2381
+
2382
+ def initialize(**args)
2383
+ update!(**args)
2384
+ end
2385
+
2386
+ # Update properties of this object
2387
+ def update!(**args)
2388
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
2389
+ @client_cert_type = args[:client_cert_type] if args.key?(:client_cert_type)
2390
+ @is_tls_mandatory = args[:is_tls_mandatory] if args.key?(:is_tls_mandatory)
2391
+ @server_cert_type = args[:server_cert_type] if args.key?(:server_cert_type)
2392
+ @ssl_type = args[:ssl_type] if args.key?(:ssl_type)
2393
+ end
2394
+ end
2395
+
2259
2396
  # The `Status` type defines a logical error model that is suitable for different
2260
2397
  # programming environments, including REST APIs and RPC APIs. It is used by [
2261
2398
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.24.0"
19
+ GEM_VERSION = "0.25.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 = "20230208"
25
+ REVISION = "20230222"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,18 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class SslConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class SslConfigTemplate
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
343
355
  class Status
344
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
357
 
@@ -462,6 +474,7 @@ module Google
462
474
  property :display_name, as: 'displayName'
463
475
  collection :enum_options, as: 'enumOptions', class: Google::Apis::ConnectorsV1::EnumOption, decorator: Google::Apis::ConnectorsV1::EnumOption::Representation
464
476
 
477
+ property :is_advanced, as: 'isAdvanced'
465
478
  property :key, as: 'key'
466
479
  property :required, as: 'required'
467
480
  property :role_grant, as: 'roleGrant', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
@@ -494,6 +507,8 @@ module Google
494
507
 
495
508
  property :service_account, as: 'serviceAccount'
496
509
  property :service_directory, as: 'serviceDirectory'
510
+ property :ssl_config, as: 'sslConfig', class: Google::Apis::ConnectorsV1::SslConfig, decorator: Google::Apis::ConnectorsV1::SslConfig::Representation
511
+
497
512
  property :status, as: 'status', class: Google::Apis::ConnectorsV1::ConnectionStatus, decorator: Google::Apis::ConnectorsV1::ConnectionStatus::Representation
498
513
 
499
514
  property :suspended, as: 'suspended'
@@ -557,6 +572,8 @@ module Google
557
572
 
558
573
  collection :role_grants, as: 'roleGrants', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
559
574
 
575
+ property :ssl_config_template, as: 'sslConfigTemplate', class: Google::Apis::ConnectorsV1::SslConfigTemplate, decorator: Google::Apis::ConnectorsV1::SslConfigTemplate::Representation
576
+
560
577
  property :supported_runtime_features, as: 'supportedRuntimeFeatures', class: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures, decorator: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures::Representation
561
578
 
562
579
  property :update_time, as: 'updateTime'
@@ -946,6 +963,39 @@ module Google
946
963
  end
947
964
  end
948
965
 
966
+ class SslConfig
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
970
+
971
+ property :client_cert_type, as: 'clientCertType'
972
+ property :client_certificate, as: 'clientCertificate', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
973
+
974
+ property :client_private_key, as: 'clientPrivateKey', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
975
+
976
+ property :client_private_key_pass, as: 'clientPrivateKeyPass', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
977
+
978
+ property :private_server_certificate, as: 'privateServerCertificate', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
979
+
980
+ property :server_cert_type, as: 'serverCertType'
981
+ property :trust_model, as: 'trustModel'
982
+ property :type, as: 'type'
983
+ property :use_ssl, as: 'useSsl'
984
+ end
985
+ end
986
+
987
+ class SslConfigTemplate
988
+ # @private
989
+ class Representation < Google::Apis::Core::JsonRepresentation
990
+ collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
991
+
992
+ collection :client_cert_type, as: 'clientCertType'
993
+ property :is_tls_mandatory, as: 'isTlsMandatory'
994
+ collection :server_cert_type, as: 'serverCertType'
995
+ property :ssl_type, as: 'sslType'
996
+ end
997
+ end
998
+
949
999
  class Status
950
1000
  # @private
951
1001
  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.24.0
4
+ version: 0.25.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-05 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.25.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: []