google-apis-connectors_v1 0.30.0 → 0.31.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: 883c613dc1b7a9d154e2c49028b36df378b4158a4e37ac598cc8ff6afa0f8efb
4
- data.tar.gz: 898668f61797807ab3ef2a996d834ed148d14f9a60caf0b08a530d10615a350e
3
+ metadata.gz: 7dbf2dc9ab1e33163d069b820dca2792aa7d4165aa77783ebcc904ec9c92bd30
4
+ data.tar.gz: 8094ca55897250058333587d0bcaa797d9f0e19005c6f0a68071aa915dac0047
5
5
  SHA512:
6
- metadata.gz: edf651c9e097e7b6290775f40c6c90d846bcc8e51377ac7aefb6e7e3d51cc2a64846077ab2421c15000771f29819a29ec6b225a23436ce5dbce840119ce32a71
7
- data.tar.gz: c424cbcf37867e171dcb5b38eae6cc36b074015d75761fa07af9fa611f129a85556c1609b86448106a08a93fb0ce8e16b79f39313b750eda7d1b9bc7a82c99c6
6
+ metadata.gz: 527df03dda4e0efacc4e34a1493c7b31807d70c590626072dde516ef3a9fac26116c0f63bf8b6462430733c3990d52b83cf6aa5468b099e9820affda94f37dff
7
+ data.tar.gz: e119d3d5aebbe181e17d189229e90ac90cdf347084e7be71c1c760c60fe754398f89501cd63a93e9979e8e85d6dca3415f4aa0b0b654d3c939df2ce75a4dc803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.31.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230524
6
+
3
7
  ### v0.30.0 (2023-05-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20230514
@@ -352,6 +352,11 @@ module Google
352
352
  # @return [String]
353
353
  attr_accessor :key
354
354
 
355
+ # Encryption Key value.
356
+ # Corresponds to the JSON property `keyValue`
357
+ # @return [Google::Apis::ConnectorsV1::EncryptionKey]
358
+ attr_accessor :key_value
359
+
355
360
  # Secret provides a reference to entries in Secret Manager.
356
361
  # Corresponds to the JSON property `secretValue`
357
362
  # @return [Google::Apis::ConnectorsV1::Secret]
@@ -371,6 +376,7 @@ module Google
371
376
  @bool_value = args[:bool_value] if args.key?(:bool_value)
372
377
  @int_value = args[:int_value] if args.key?(:int_value)
373
378
  @key = args[:key] if args.key?(:key)
379
+ @key_value = args[:key_value] if args.key?(:key_value)
374
380
  @secret_value = args[:secret_value] if args.key?(:secret_value)
375
381
  @string_value = args[:string_value] if args.key?(:string_value)
376
382
  end
@@ -479,6 +485,12 @@ module Google
479
485
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
480
486
  attr_accessor :config_variables
481
487
 
488
+ # Output only. Connection revision. This field is only updated when the
489
+ # connection is created or updated by User.
490
+ # Corresponds to the JSON property `connectionRevision`
491
+ # @return [Fixnum]
492
+ attr_accessor :connection_revision
493
+
482
494
  # Required. Connector version on which the connection is created. The format is:
483
495
  # projects/*/locations/*/providers/*/connectors/*/versions/* Only global
484
496
  # location is supported for ConnectorVersion resource.
@@ -596,6 +608,7 @@ module Google
596
608
  def update!(**args)
597
609
  @auth_config = args[:auth_config] if args.key?(:auth_config)
598
610
  @config_variables = args[:config_variables] if args.key?(:config_variables)
611
+ @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
599
612
  @connector_version = args[:connector_version] if args.key?(:connector_version)
600
613
  @connector_version_launch_stage = args[:connector_version_launch_stage] if args.key?(:connector_version_launch_stage)
601
614
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -1088,6 +1101,33 @@ module Google
1088
1101
  end
1089
1102
  end
1090
1103
 
1104
+ # Encryption Key value.
1105
+ class EncryptionKey
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ # The [KMS key name] with which the content of the Operation is encrypted. The
1109
+ # expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
1110
+ # empty string if google managed.
1111
+ # Corresponds to the JSON property `kmsKeyName`
1112
+ # @return [String]
1113
+ attr_accessor :kms_key_name
1114
+
1115
+ # Type.
1116
+ # Corresponds to the JSON property `type`
1117
+ # @return [String]
1118
+ attr_accessor :type
1119
+
1120
+ def initialize(**args)
1121
+ update!(**args)
1122
+ end
1123
+
1124
+ # Update properties of this object
1125
+ def update!(**args)
1126
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1127
+ @type = args[:type] if args.key?(:type)
1128
+ end
1129
+ end
1130
+
1091
1131
  # represents the Connector's Endpoint Attachment resource
1092
1132
  class EndpointAttachment
1093
1133
  include Google::Apis::Core::Hashable
@@ -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.30.0"
19
+ GEM_VERSION = "0.31.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 = "20230514"
25
+ REVISION = "20230524"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class EncryptionKey
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class EndpointAttachment
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -511,6 +517,8 @@ module Google
511
517
  property :bool_value, as: 'boolValue'
512
518
  property :int_value, :numeric_string => true, as: 'intValue'
513
519
  property :key, as: 'key'
520
+ property :key_value, as: 'keyValue', class: Google::Apis::ConnectorsV1::EncryptionKey, decorator: Google::Apis::ConnectorsV1::EncryptionKey::Representation
521
+
514
522
  property :secret_value, as: 'secretValue', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
515
523
 
516
524
  property :string_value, as: 'stringValue'
@@ -544,6 +552,7 @@ module Google
544
552
 
545
553
  collection :config_variables, as: 'configVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
546
554
 
555
+ property :connection_revision, :numeric_string => true, as: 'connectionRevision'
547
556
  property :connector_version, as: 'connectorVersion'
548
557
  property :connector_version_launch_stage, as: 'connectorVersionLaunchStage'
549
558
  property :create_time, as: 'createTime'
@@ -693,6 +702,14 @@ module Google
693
702
  end
694
703
  end
695
704
 
705
+ class EncryptionKey
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :kms_key_name, as: 'kmsKeyName'
709
+ property :type, as: 'type'
710
+ end
711
+ end
712
+
696
713
  class EndpointAttachment
697
714
  # @private
698
715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1382,6 +1382,8 @@ module Google
1382
1382
  # Required. Parent resource of the connectors, of the form: `projects/*/
1383
1383
  # locations/*/providers/*` Only global location is supported for Connector
1384
1384
  # resource.
1385
+ # @param [String] filter
1386
+ # Filter string.
1385
1387
  # @param [Fixnum] page_size
1386
1388
  # Page size.
1387
1389
  # @param [String] page_token
@@ -1403,11 +1405,12 @@ module Google
1403
1405
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1404
1406
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1405
1407
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1406
- def list_project_location_provider_connectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1408
+ def list_project_location_provider_connectors(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1407
1409
  command = make_simple_command(:get, 'v1/{+parent}/connectors', options)
1408
1410
  command.response_representation = Google::Apis::ConnectorsV1::ListConnectorsResponse::Representation
1409
1411
  command.response_class = Google::Apis::ConnectorsV1::ListConnectorsResponse
1410
1412
  command.params['parent'] = parent unless parent.nil?
1413
+ command.query['filter'] = filter unless filter.nil?
1411
1414
  command.query['pageSize'] = page_size unless page_size.nil?
1412
1415
  command.query['pageToken'] = page_token unless page_token.nil?
1413
1416
  command.query['fields'] = fields unless fields.nil?
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.30.0
4
+ version: 0.31.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-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-04 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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.31.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: []