google-apis-connectors_v1 0.24.0 → 0.26.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: 5e76fe7ded51533af9ebc0075e9e8590221d8978d0f96a72bf4fe1ef400c8daa
4
- data.tar.gz: 81c080cf81ac4489063ae24ee81409c8598fcf5ff765c6fe241539b60b248b7f
3
+ metadata.gz: 42584d5469fa80289c79743a19f70c6e20bde8d80f6eda33fcc8e7b1b28e01a0
4
+ data.tar.gz: 350715dfa09d351f972afdb76ba2d5c30c802b8e3cfe8ba082955970c14329a6
5
5
  SHA512:
6
- metadata.gz: 5c880056623a64d86ca911be2a723f4144d10207fa7a8db8ffe2e5a66964a33e780991fe67019c84bc2855f7c71a7caf3d3ebb08a3b5f97c45c3fcb5b7850bbf
7
- data.tar.gz: 7c92119b085ab262fd1e942cc35160575ad0f8321073c6bade34f9210d2de94e368e009f54c9f4e42e4b7db9855783fa3c94dfc196cb6b90cd7ec348db1e1777
6
+ metadata.gz: 865345a298ce8a2ba8bd3fed2d846e93f50466673892d53523a3080a3e89916c1ff3db8826317c45fdb813941f9246130118c509706d94828b74a7ffcdc5bf83
7
+ data.tar.gz: '0296fb7504eb8a3f5d48eff7c7ae5db1ebaa7817eae5f54c1ae92548cac289b304ca42559a758c2180a0035ab329882735557617da975fe6bfa744670c4b0d74'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.26.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230318
6
+
7
+ ### v0.25.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230222
10
+
3
11
  ### v0.24.0 (2023-02-15)
4
12
 
5
13
  * 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
@@ -2194,6 +2213,40 @@ module Google
2194
2213
  end
2195
2214
  end
2196
2215
 
2216
+ # Global Settings details.
2217
+ class Settings
2218
+ include Google::Apis::Core::Hashable
2219
+
2220
+ # Output only. Resource name of the Connection. Format: projects/`project`/
2221
+ # locations/global/settings`
2222
+ # Corresponds to the JSON property `name`
2223
+ # @return [String]
2224
+ attr_accessor :name
2225
+
2226
+ # Output only. Flag indicates if user is in PayG model
2227
+ # Corresponds to the JSON property `payg`
2228
+ # @return [Boolean]
2229
+ attr_accessor :payg
2230
+ alias_method :payg?, :payg
2231
+
2232
+ # Optional. Flag indicates whether vpc-sc is enabled.
2233
+ # Corresponds to the JSON property `vpcsc`
2234
+ # @return [Boolean]
2235
+ attr_accessor :vpcsc
2236
+ alias_method :vpcsc?, :vpcsc
2237
+
2238
+ def initialize(**args)
2239
+ update!(**args)
2240
+ end
2241
+
2242
+ # Update properties of this object
2243
+ def update!(**args)
2244
+ @name = args[:name] if args.key?(:name)
2245
+ @payg = args[:payg] if args.key?(:payg)
2246
+ @vpcsc = args[:vpcsc] if args.key?(:vpcsc)
2247
+ end
2248
+ end
2249
+
2197
2250
  # Source to extract the backend from.
2198
2251
  class Source
2199
2252
  include Google::Apis::Core::Hashable
@@ -2256,6 +2309,124 @@ module Google
2256
2309
  end
2257
2310
  end
2258
2311
 
2312
+ # SSL Configuration of a connection
2313
+ class SslConfig
2314
+ include Google::Apis::Core::Hashable
2315
+
2316
+ # Additional SSL related field values
2317
+ # Corresponds to the JSON property `additionalVariables`
2318
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
2319
+ attr_accessor :additional_variables
2320
+
2321
+ # Type of Client Cert (PEM/JKS/.. etc.)
2322
+ # Corresponds to the JSON property `clientCertType`
2323
+ # @return [String]
2324
+ attr_accessor :client_cert_type
2325
+
2326
+ # Secret provides a reference to entries in Secret Manager.
2327
+ # Corresponds to the JSON property `clientCertificate`
2328
+ # @return [Google::Apis::ConnectorsV1::Secret]
2329
+ attr_accessor :client_certificate
2330
+
2331
+ # Secret provides a reference to entries in Secret Manager.
2332
+ # Corresponds to the JSON property `clientPrivateKey`
2333
+ # @return [Google::Apis::ConnectorsV1::Secret]
2334
+ attr_accessor :client_private_key
2335
+
2336
+ # Secret provides a reference to entries in Secret Manager.
2337
+ # Corresponds to the JSON property `clientPrivateKeyPass`
2338
+ # @return [Google::Apis::ConnectorsV1::Secret]
2339
+ attr_accessor :client_private_key_pass
2340
+
2341
+ # Secret provides a reference to entries in Secret Manager.
2342
+ # Corresponds to the JSON property `privateServerCertificate`
2343
+ # @return [Google::Apis::ConnectorsV1::Secret]
2344
+ attr_accessor :private_server_certificate
2345
+
2346
+ # Type of Server Cert (PEM/JKS/.. etc.)
2347
+ # Corresponds to the JSON property `serverCertType`
2348
+ # @return [String]
2349
+ attr_accessor :server_cert_type
2350
+
2351
+ # Trust Model of the SSL connection
2352
+ # Corresponds to the JSON property `trustModel`
2353
+ # @return [String]
2354
+ attr_accessor :trust_model
2355
+
2356
+ # Controls the ssl type for the given connector version.
2357
+ # Corresponds to the JSON property `type`
2358
+ # @return [String]
2359
+ attr_accessor :type
2360
+
2361
+ # Bool for enabling SSL
2362
+ # Corresponds to the JSON property `useSsl`
2363
+ # @return [Boolean]
2364
+ attr_accessor :use_ssl
2365
+ alias_method :use_ssl?, :use_ssl
2366
+
2367
+ def initialize(**args)
2368
+ update!(**args)
2369
+ end
2370
+
2371
+ # Update properties of this object
2372
+ def update!(**args)
2373
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
2374
+ @client_cert_type = args[:client_cert_type] if args.key?(:client_cert_type)
2375
+ @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
2376
+ @client_private_key = args[:client_private_key] if args.key?(:client_private_key)
2377
+ @client_private_key_pass = args[:client_private_key_pass] if args.key?(:client_private_key_pass)
2378
+ @private_server_certificate = args[:private_server_certificate] if args.key?(:private_server_certificate)
2379
+ @server_cert_type = args[:server_cert_type] if args.key?(:server_cert_type)
2380
+ @trust_model = args[:trust_model] if args.key?(:trust_model)
2381
+ @type = args[:type] if args.key?(:type)
2382
+ @use_ssl = args[:use_ssl] if args.key?(:use_ssl)
2383
+ end
2384
+ end
2385
+
2386
+ # Ssl config details of a connector version
2387
+ class SslConfigTemplate
2388
+ include Google::Apis::Core::Hashable
2389
+
2390
+ # Any additional fields that need to be rendered
2391
+ # Corresponds to the JSON property `additionalVariables`
2392
+ # @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
2393
+ attr_accessor :additional_variables
2394
+
2395
+ # List of supported Client Cert Types
2396
+ # Corresponds to the JSON property `clientCertType`
2397
+ # @return [Array<String>]
2398
+ attr_accessor :client_cert_type
2399
+
2400
+ # Boolean for determining if the connector version mandates TLS.
2401
+ # Corresponds to the JSON property `isTlsMandatory`
2402
+ # @return [Boolean]
2403
+ attr_accessor :is_tls_mandatory
2404
+ alias_method :is_tls_mandatory?, :is_tls_mandatory
2405
+
2406
+ # List of supported Server Cert Types
2407
+ # Corresponds to the JSON property `serverCertType`
2408
+ # @return [Array<String>]
2409
+ attr_accessor :server_cert_type
2410
+
2411
+ # Controls the ssl type for the given connector version
2412
+ # Corresponds to the JSON property `sslType`
2413
+ # @return [String]
2414
+ attr_accessor :ssl_type
2415
+
2416
+ def initialize(**args)
2417
+ update!(**args)
2418
+ end
2419
+
2420
+ # Update properties of this object
2421
+ def update!(**args)
2422
+ @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
2423
+ @client_cert_type = args[:client_cert_type] if args.key?(:client_cert_type)
2424
+ @is_tls_mandatory = args[:is_tls_mandatory] if args.key?(:is_tls_mandatory)
2425
+ @server_cert_type = args[:server_cert_type] if args.key?(:server_cert_type)
2426
+ @ssl_type = args[:ssl_type] if args.key?(:ssl_type)
2427
+ end
2428
+ end
2429
+
2259
2430
  # The `Status` type defines a logical error model that is suitable for different
2260
2431
  # programming environments, including REST APIs and RPC APIs. It is used by [
2261
2432
  # 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.26.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 = "20230318"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class Settings
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class Source
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -340,6 +346,18 @@ module Google
340
346
  include Google::Apis::Core::JsonObjectSupport
341
347
  end
342
348
 
349
+ class SslConfig
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class SslConfigTemplate
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class Status
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
@@ -462,6 +480,7 @@ module Google
462
480
  property :display_name, as: 'displayName'
463
481
  collection :enum_options, as: 'enumOptions', class: Google::Apis::ConnectorsV1::EnumOption, decorator: Google::Apis::ConnectorsV1::EnumOption::Representation
464
482
 
483
+ property :is_advanced, as: 'isAdvanced'
465
484
  property :key, as: 'key'
466
485
  property :required, as: 'required'
467
486
  property :role_grant, as: 'roleGrant', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
@@ -494,6 +513,8 @@ module Google
494
513
 
495
514
  property :service_account, as: 'serviceAccount'
496
515
  property :service_directory, as: 'serviceDirectory'
516
+ property :ssl_config, as: 'sslConfig', class: Google::Apis::ConnectorsV1::SslConfig, decorator: Google::Apis::ConnectorsV1::SslConfig::Representation
517
+
497
518
  property :status, as: 'status', class: Google::Apis::ConnectorsV1::ConnectionStatus, decorator: Google::Apis::ConnectorsV1::ConnectionStatus::Representation
498
519
 
499
520
  property :suspended, as: 'suspended'
@@ -557,6 +578,8 @@ module Google
557
578
 
558
579
  collection :role_grants, as: 'roleGrants', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
559
580
 
581
+ property :ssl_config_template, as: 'sslConfigTemplate', class: Google::Apis::ConnectorsV1::SslConfigTemplate, decorator: Google::Apis::ConnectorsV1::SslConfigTemplate::Representation
582
+
560
583
  property :supported_runtime_features, as: 'supportedRuntimeFeatures', class: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures, decorator: Google::Apis::ConnectorsV1::SupportedRuntimeFeatures::Representation
561
584
 
562
585
  property :update_time, as: 'updateTime'
@@ -926,6 +949,15 @@ module Google
926
949
  end
927
950
  end
928
951
 
952
+ class Settings
953
+ # @private
954
+ class Representation < Google::Apis::Core::JsonRepresentation
955
+ property :name, as: 'name'
956
+ property :payg, as: 'payg'
957
+ property :vpcsc, as: 'vpcsc'
958
+ end
959
+ end
960
+
929
961
  class Source
930
962
  # @private
931
963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -946,6 +978,39 @@ module Google
946
978
  end
947
979
  end
948
980
 
981
+ class SslConfig
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
985
+
986
+ property :client_cert_type, as: 'clientCertType'
987
+ property :client_certificate, as: 'clientCertificate', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
988
+
989
+ property :client_private_key, as: 'clientPrivateKey', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
990
+
991
+ property :client_private_key_pass, as: 'clientPrivateKeyPass', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
992
+
993
+ property :private_server_certificate, as: 'privateServerCertificate', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
994
+
995
+ property :server_cert_type, as: 'serverCertType'
996
+ property :trust_model, as: 'trustModel'
997
+ property :type, as: 'type'
998
+ property :use_ssl, as: 'useSsl'
999
+ end
1000
+ end
1001
+
1002
+ class SslConfigTemplate
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
1006
+
1007
+ collection :client_cert_type, as: 'clientCertType'
1008
+ property :is_tls_mandatory, as: 'isTlsMandatory'
1009
+ collection :server_cert_type, as: 'serverCertType'
1010
+ property :ssl_type, as: 'sslType'
1011
+ end
1012
+ end
1013
+
949
1014
  class Status
950
1015
  # @private
951
1016
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -614,6 +614,37 @@ module Google
614
614
  execute_or_queue_command(command, &block)
615
615
  end
616
616
 
617
+ # GetGlobalSettings gets settings of a project. GlobalSettings is a singleton
618
+ # resource.
619
+ # @param [String] name
620
+ # Required. The resource name of the Settings.
621
+ # @param [String] fields
622
+ # Selector specifying which fields to include in a partial response.
623
+ # @param [String] quota_user
624
+ # Available to use for quota purposes for server-side applications. Can be any
625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
626
+ # @param [Google::Apis::RequestOptions] options
627
+ # Request-specific options
628
+ #
629
+ # @yield [result, err] Result & error if block supplied
630
+ # @yieldparam result [Google::Apis::ConnectorsV1::Settings] parsed result object
631
+ # @yieldparam err [StandardError] error object if request failed
632
+ #
633
+ # @return [Google::Apis::ConnectorsV1::Settings]
634
+ #
635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
638
+ def get_project_location_global_settings(name, fields: nil, quota_user: nil, options: nil, &block)
639
+ command = make_simple_command(:get, 'v1/{+name}', options)
640
+ command.response_representation = Google::Apis::ConnectorsV1::Settings::Representation
641
+ command.response_class = Google::Apis::ConnectorsV1::Settings
642
+ command.params['name'] = name unless name.nil?
643
+ command.query['fields'] = fields unless fields.nil?
644
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
645
+ execute_or_queue_command(command, &block)
646
+ end
647
+
617
648
  # Starts asynchronous cancellation on a long-running operation. The server makes
618
649
  # a best effort to cancel the operation, but success is not guaranteed. If the
619
650
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -719,13 +750,7 @@ module Google
719
750
  end
720
751
 
721
752
  # Lists operations that match the specified filter in the request. If the server
722
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
723
- # binding allows API services to override the binding to use different resource
724
- # name schemes, such as `users/*/operations`. To override the binding, API
725
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
726
- # service configuration. For backwards compatibility, the default name includes
727
- # the operations collection id, however overriding users must ensure the name
728
- # binding is the parent resource, without the operations collection id.
753
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
729
754
  # @param [String] name
730
755
  # The name of the operation's parent resource.
731
756
  # @param [String] filter
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.26.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-26 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.26.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: []