google-apis-connectors_v1 0.30.0 → 0.32.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: a1bf2332c233973c7b1309d8b89200589e0e7dd8d89c29599a35fc8b4cf408cd
4
+ data.tar.gz: 6f8fb863e821318fe14bc536475c326a4a9581332dd0ec96bf45288fe2a9cc80
5
5
  SHA512:
6
- metadata.gz: edf651c9e097e7b6290775f40c6c90d846bcc8e51377ac7aefb6e7e3d51cc2a64846077ab2421c15000771f29819a29ec6b225a23436ce5dbce840119ce32a71
7
- data.tar.gz: c424cbcf37867e171dcb5b38eae6cc36b074015d75761fa07af9fa611f129a85556c1609b86448106a08a93fb0ce8e16b79f39313b750eda7d1b9bc7a82c99c6
6
+ metadata.gz: a8193846722cc1a8d491d9f3dd64bcb71cbfb8cc473e6fabed42910a92ea4571fad9fd281d0ce9dd6553e5fa3a8b56b5874f68a30cbf4cd9496c3c978f519df5
7
+ data.tar.gz: 6230bee9c6ea37803ba65781b1bfde2998ae8ea98af901947048258b3b22bce47082846053e9437d0c3385fc0472e3194e4c3f5a0750e2978f5b05e9d4b14963
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.32.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230531
6
+
7
+ ### v0.31.0 (2023-06-04)
8
+
9
+ * Regenerated from discovery document revision 20230524
10
+
3
11
  ### v0.30.0 (2023-05-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20230514
@@ -342,6 +342,11 @@ module Google
342
342
  attr_accessor :bool_value
343
343
  alias_method :bool_value?, :bool_value
344
344
 
345
+ # Encryption Key value.
346
+ # Corresponds to the JSON property `encryptionKeyValue`
347
+ # @return [Google::Apis::ConnectorsV1::EncryptionKey]
348
+ attr_accessor :encryption_key_value
349
+
345
350
  # Value is an integer
346
351
  # Corresponds to the JSON property `intValue`
347
352
  # @return [Fixnum]
@@ -369,6 +374,7 @@ module Google
369
374
  # Update properties of this object
370
375
  def update!(**args)
371
376
  @bool_value = args[:bool_value] if args.key?(:bool_value)
377
+ @encryption_key_value = args[:encryption_key_value] if args.key?(:encryption_key_value)
372
378
  @int_value = args[:int_value] if args.key?(:int_value)
373
379
  @key = args[:key] if args.key?(:key)
374
380
  @secret_value = args[:secret_value] if args.key?(:secret_value)
@@ -419,8 +425,13 @@ module Google
419
425
  attr_accessor :required
420
426
  alias_method :required?, :required
421
427
 
428
+ # Struct for representing boolean expressions.
429
+ # Corresponds to the JSON property `requiredCondition`
430
+ # @return [Google::Apis::ConnectorsV1::LogicalExpression]
431
+ attr_accessor :required_condition
432
+
422
433
  # This configuration defines all the Cloud IAM roles that needs to be granted to
423
- # a particular GCP resource for the selected prinicpal like service account.
434
+ # a particular GCP resource for the selected principal like service account.
424
435
  # These configurations will let UI display to customers what IAM roles need to
425
436
  # be granted by them. Or these configurations can be used by the UI to render a '
426
437
  # grant' button to do the same on behalf of the user.
@@ -458,6 +469,7 @@ module Google
458
469
  @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
459
470
  @key = args[:key] if args.key?(:key)
460
471
  @required = args[:required] if args.key?(:required)
472
+ @required_condition = args[:required_condition] if args.key?(:required_condition)
461
473
  @role_grant = args[:role_grant] if args.key?(:role_grant)
462
474
  @state = args[:state] if args.key?(:state)
463
475
  @validation_regex = args[:validation_regex] if args.key?(:validation_regex)
@@ -479,6 +491,12 @@ module Google
479
491
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
480
492
  attr_accessor :config_variables
481
493
 
494
+ # Output only. Connection revision. This field is only updated when the
495
+ # connection is created or updated by User.
496
+ # Corresponds to the JSON property `connectionRevision`
497
+ # @return [Fixnum]
498
+ attr_accessor :connection_revision
499
+
482
500
  # Required. Connector version on which the connection is created. The format is:
483
501
  # projects/*/locations/*/providers/*/connectors/*/versions/* Only global
484
502
  # location is supported for ConnectorVersion resource.
@@ -596,6 +614,7 @@ module Google
596
614
  def update!(**args)
597
615
  @auth_config = args[:auth_config] if args.key?(:auth_config)
598
616
  @config_variables = args[:config_variables] if args.key?(:config_variables)
617
+ @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
599
618
  @connector_version = args[:connector_version] if args.key?(:connector_version)
600
619
  @connector_version_launch_stage = args[:connector_version_launch_stage] if args.key?(:connector_version_launch_stage)
601
620
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -841,7 +860,7 @@ module Google
841
860
  attr_accessor :release_version
842
861
 
843
862
  # This configuration defines all the Cloud IAM roles that needs to be granted to
844
- # a particular GCP resource for the selected prinicpal like service account.
863
+ # a particular GCP resource for the selected principal like service account.
845
864
  # These configurations will let UI display to customers what IAM roles need to
846
865
  # be granted by them. Or these configurations can be used by the UI to render a '
847
866
  # grant' button to do the same on behalf of the user.
@@ -1088,6 +1107,33 @@ module Google
1088
1107
  end
1089
1108
  end
1090
1109
 
1110
+ # Encryption Key value.
1111
+ class EncryptionKey
1112
+ include Google::Apis::Core::Hashable
1113
+
1114
+ # The [KMS key name] with which the content of the Operation is encrypted. The
1115
+ # expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
1116
+ # empty string if google managed.
1117
+ # Corresponds to the JSON property `kmsKeyName`
1118
+ # @return [String]
1119
+ attr_accessor :kms_key_name
1120
+
1121
+ # Type.
1122
+ # Corresponds to the JSON property `type`
1123
+ # @return [String]
1124
+ attr_accessor :type
1125
+
1126
+ def initialize(**args)
1127
+ update!(**args)
1128
+ end
1129
+
1130
+ # Update properties of this object
1131
+ def update!(**args)
1132
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1133
+ @type = args[:type] if args.key?(:type)
1134
+ end
1135
+ end
1136
+
1091
1137
  # represents the Connector's Endpoint Attachment resource
1092
1138
  class EndpointAttachment
1093
1139
  include Google::Apis::Core::Hashable
@@ -1338,6 +1384,50 @@ module Google
1338
1384
  end
1339
1385
  end
1340
1386
 
1387
+ # Field that needs to be compared.
1388
+ class FieldComparison
1389
+ include Google::Apis::Core::Hashable
1390
+
1391
+ # Boolean value
1392
+ # Corresponds to the JSON property `boolValue`
1393
+ # @return [Boolean]
1394
+ attr_accessor :bool_value
1395
+ alias_method :bool_value?, :bool_value
1396
+
1397
+ # Comparator to use for comparing the field value.
1398
+ # Corresponds to the JSON property `comparator`
1399
+ # @return [String]
1400
+ attr_accessor :comparator
1401
+
1402
+ # Integer value
1403
+ # Corresponds to the JSON property `intValue`
1404
+ # @return [Fixnum]
1405
+ attr_accessor :int_value
1406
+
1407
+ # Key of the field.
1408
+ # Corresponds to the JSON property `key`
1409
+ # @return [String]
1410
+ attr_accessor :key
1411
+
1412
+ # String value
1413
+ # Corresponds to the JSON property `stringValue`
1414
+ # @return [String]
1415
+ attr_accessor :string_value
1416
+
1417
+ def initialize(**args)
1418
+ update!(**args)
1419
+ end
1420
+
1421
+ # Update properties of this object
1422
+ def update!(**args)
1423
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
1424
+ @comparator = args[:comparator] if args.key?(:comparator)
1425
+ @int_value = args[:int_value] if args.key?(:int_value)
1426
+ @key = args[:key] if args.key?(:key)
1427
+ @string_value = args[:string_value] if args.key?(:string_value)
1428
+ end
1429
+ end
1430
+
1341
1431
  # Metadata of an input parameter.
1342
1432
  class InputParameter
1343
1433
  include Google::Apis::Core::Hashable
@@ -1768,6 +1858,37 @@ module Google
1768
1858
  end
1769
1859
  end
1770
1860
 
1861
+ # Struct for representing boolean expressions.
1862
+ class LogicalExpression
1863
+ include Google::Apis::Core::Hashable
1864
+
1865
+ # A list of fields to be compared.
1866
+ # Corresponds to the JSON property `fieldComparisons`
1867
+ # @return [Array<Google::Apis::ConnectorsV1::FieldComparison>]
1868
+ attr_accessor :field_comparisons
1869
+
1870
+ # A list of nested conditions to be compared.
1871
+ # Corresponds to the JSON property `logicalExpressions`
1872
+ # @return [Array<Google::Apis::ConnectorsV1::LogicalExpression>]
1873
+ attr_accessor :logical_expressions
1874
+
1875
+ # The logical operator to use between the fields and conditions.
1876
+ # Corresponds to the JSON property `logicalOperator`
1877
+ # @return [String]
1878
+ attr_accessor :logical_operator
1879
+
1880
+ def initialize(**args)
1881
+ update!(**args)
1882
+ end
1883
+
1884
+ # Update properties of this object
1885
+ def update!(**args)
1886
+ @field_comparisons = args[:field_comparisons] if args.key?(:field_comparisons)
1887
+ @logical_expressions = args[:logical_expressions] if args.key?(:logical_expressions)
1888
+ @logical_operator = args[:logical_operator] if args.key?(:logical_operator)
1889
+ end
1890
+ end
1891
+
1771
1892
  # represents the Connector's Managed Zone resource
1772
1893
  class ManagedZone
1773
1894
  include Google::Apis::Core::Hashable
@@ -2338,7 +2459,7 @@ module Google
2338
2459
  end
2339
2460
 
2340
2461
  # This configuration defines all the Cloud IAM roles that needs to be granted to
2341
- # a particular GCP resource for the selected prinicpal like service account.
2462
+ # a particular GCP resource for the selected principal like service account.
2342
2463
  # These configurations will let UI display to customers what IAM roles need to
2343
2464
  # be granted by them. Or these configurations can be used by the UI to render a '
2344
2465
  # grant' button to do the same on behalf of the user.
@@ -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.32.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 = "20230531"
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
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class FieldComparison
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class InputParameter
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -262,6 +274,12 @@ module Google
262
274
  include Google::Apis::Core::JsonObjectSupport
263
275
  end
264
276
 
277
+ class LogicalExpression
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
265
283
  class ManagedZone
266
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
285
 
@@ -509,6 +527,8 @@ module Google
509
527
  # @private
510
528
  class Representation < Google::Apis::Core::JsonRepresentation
511
529
  property :bool_value, as: 'boolValue'
530
+ property :encryption_key_value, as: 'encryptionKeyValue', class: Google::Apis::ConnectorsV1::EncryptionKey, decorator: Google::Apis::ConnectorsV1::EncryptionKey::Representation
531
+
512
532
  property :int_value, :numeric_string => true, as: 'intValue'
513
533
  property :key, as: 'key'
514
534
  property :secret_value, as: 'secretValue', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
@@ -529,6 +549,8 @@ module Google
529
549
  property :is_advanced, as: 'isAdvanced'
530
550
  property :key, as: 'key'
531
551
  property :required, as: 'required'
552
+ property :required_condition, as: 'requiredCondition', class: Google::Apis::ConnectorsV1::LogicalExpression, decorator: Google::Apis::ConnectorsV1::LogicalExpression::Representation
553
+
532
554
  property :role_grant, as: 'roleGrant', class: Google::Apis::ConnectorsV1::RoleGrant, decorator: Google::Apis::ConnectorsV1::RoleGrant::Representation
533
555
 
534
556
  property :state, as: 'state'
@@ -544,6 +566,7 @@ module Google
544
566
 
545
567
  collection :config_variables, as: 'configVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
546
568
 
569
+ property :connection_revision, :numeric_string => true, as: 'connectionRevision'
547
570
  property :connector_version, as: 'connectorVersion'
548
571
  property :connector_version_launch_stage, as: 'connectorVersionLaunchStage'
549
572
  property :create_time, as: 'createTime'
@@ -693,6 +716,14 @@ module Google
693
716
  end
694
717
  end
695
718
 
719
+ class EncryptionKey
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :kms_key_name, as: 'kmsKeyName'
723
+ property :type, as: 'type'
724
+ end
725
+ end
726
+
696
727
  class EndpointAttachment
697
728
  # @private
698
729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -755,6 +786,17 @@ module Google
755
786
  end
756
787
  end
757
788
 
789
+ class FieldComparison
790
+ # @private
791
+ class Representation < Google::Apis::Core::JsonRepresentation
792
+ property :bool_value, as: 'boolValue'
793
+ property :comparator, as: 'comparator'
794
+ property :int_value, :numeric_string => true, as: 'intValue'
795
+ property :key, as: 'key'
796
+ property :string_value, as: 'stringValue'
797
+ end
798
+ end
799
+
758
800
  class InputParameter
759
801
  # @private
760
802
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -889,6 +931,17 @@ module Google
889
931
  end
890
932
  end
891
933
 
934
+ class LogicalExpression
935
+ # @private
936
+ class Representation < Google::Apis::Core::JsonRepresentation
937
+ collection :field_comparisons, as: 'fieldComparisons', class: Google::Apis::ConnectorsV1::FieldComparison, decorator: Google::Apis::ConnectorsV1::FieldComparison::Representation
938
+
939
+ collection :logical_expressions, as: 'logicalExpressions', class: Google::Apis::ConnectorsV1::LogicalExpression, decorator: Google::Apis::ConnectorsV1::LogicalExpression::Representation
940
+
941
+ property :logical_operator, as: 'logicalOperator'
942
+ end
943
+ end
944
+
892
945
  class ManagedZone
893
946
  # @private
894
947
  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.32.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-11 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.32.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: []