google-apis-connectors_v1 0.29.0 → 0.31.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: e71928c474f0005eaafe1e1045e820e2718eee54d096d984759c176fcc94f456
4
- data.tar.gz: c563b75110bc98955011650b39ee2a1ffab451e2d6ce72eed9eb4e6819ae66ac
3
+ metadata.gz: 7dbf2dc9ab1e33163d069b820dca2792aa7d4165aa77783ebcc904ec9c92bd30
4
+ data.tar.gz: 8094ca55897250058333587d0bcaa797d9f0e19005c6f0a68071aa915dac0047
5
5
  SHA512:
6
- metadata.gz: 1249f7e0ac783a6772d8ea38f28d5c52b5d7d9c13971daeeff6e192cf4ce2ea85ffb9440ef01fb25b54ab2240f1bd847561a74f2d93aca31888c199bf30ea259
7
- data.tar.gz: ca0a1abd7ebffc4772cd49e3632b0c1151bc6d30bca6fdcda8ef454f088b4aa164f11941c6fd0a9ed17f1cc196383a8dfeb0e09a08de6f338d14f9b69454b94c
6
+ metadata.gz: 527df03dda4e0efacc4e34a1493c7b31807d70c590626072dde516ef3a9fac26116c0f63bf8b6462430733c3990d52b83cf6aa5468b099e9820affda94f37dff
7
+ data.tar.gz: e119d3d5aebbe181e17d189229e90ac90cdf347084e7be71c1c760c60fe754398f89501cd63a93e9979e8e85d6dca3415f4aa0b0b654d3c939df2ce75a4dc803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.30.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230514
10
+
3
11
  ### v0.29.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230503
@@ -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.
@@ -486,6 +498,11 @@ module Google
486
498
  # @return [String]
487
499
  attr_accessor :connector_version
488
500
 
501
+ # Output only. Flag to mark the version indicating the launch stage.
502
+ # Corresponds to the JSON property `connectorVersionLaunchStage`
503
+ # @return [String]
504
+ attr_accessor :connector_version_launch_stage
505
+
489
506
  # Output only. Created time.
490
507
  # Corresponds to the JSON property `createTime`
491
508
  # @return [String]
@@ -591,7 +608,9 @@ module Google
591
608
  def update!(**args)
592
609
  @auth_config = args[:auth_config] if args.key?(:auth_config)
593
610
  @config_variables = args[:config_variables] if args.key?(:config_variables)
611
+ @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
594
612
  @connector_version = args[:connector_version] if args.key?(:connector_version)
613
+ @connector_version_launch_stage = args[:connector_version_launch_stage] if args.key?(:connector_version_launch_stage)
595
614
  @create_time = args[:create_time] if args.key?(:create_time)
596
615
  @description = args[:description] if args.key?(:description)
597
616
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
@@ -1082,6 +1101,33 @@ module Google
1082
1101
  end
1083
1102
  end
1084
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
+
1085
1131
  # represents the Connector's Endpoint Attachment resource
1086
1132
  class EndpointAttachment
1087
1133
  include Google::Apis::Core::Hashable
@@ -1861,6 +1907,11 @@ module Google
1861
1907
  # @return [String]
1862
1908
  attr_accessor :auth_code
1863
1909
 
1910
+ # Auth URL for Authorization Code Flow
1911
+ # Corresponds to the JSON property `authUri`
1912
+ # @return [String]
1913
+ attr_accessor :auth_uri
1914
+
1864
1915
  # Client ID for user-provided OAuth app.
1865
1916
  # Corresponds to the JSON property `clientId`
1866
1917
  # @return [String]
@@ -1899,6 +1950,7 @@ module Google
1899
1950
  # Update properties of this object
1900
1951
  def update!(**args)
1901
1952
  @auth_code = args[:auth_code] if args.key?(:auth_code)
1953
+ @auth_uri = args[:auth_uri] if args.key?(:auth_uri)
1902
1954
  @client_id = args[:client_id] if args.key?(:client_id)
1903
1955
  @client_secret = args[:client_secret] if args.key?(:client_secret)
1904
1956
  @enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
@@ -2591,6 +2643,11 @@ module Google
2591
2643
  attr_accessor :payg
2592
2644
  alias_method :payg?, :payg
2593
2645
 
2646
+ # Output only. Tenant project id of the consumer project.
2647
+ # Corresponds to the JSON property `tenantProjectId`
2648
+ # @return [String]
2649
+ attr_accessor :tenant_project_id
2650
+
2594
2651
  # Optional. Flag indicates whether vpc-sc is enabled.
2595
2652
  # Corresponds to the JSON property `vpcsc`
2596
2653
  # @return [Boolean]
@@ -2605,6 +2662,7 @@ module Google
2605
2662
  def update!(**args)
2606
2663
  @name = args[:name] if args.key?(:name)
2607
2664
  @payg = args[:payg] if args.key?(:payg)
2665
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
2608
2666
  @vpcsc = args[:vpcsc] if args.key?(:vpcsc)
2609
2667
  end
2610
2668
  end
@@ -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.29.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 = "20230503"
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,7 +552,9 @@ 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'
557
+ property :connector_version_launch_stage, as: 'connectorVersionLaunchStage'
548
558
  property :create_time, as: 'createTime'
549
559
  property :description, as: 'description'
550
560
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
@@ -692,6 +702,14 @@ module Google
692
702
  end
693
703
  end
694
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
+
695
713
  class EndpointAttachment
696
714
  # @private
697
715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -914,6 +932,7 @@ module Google
914
932
  # @private
915
933
  class Representation < Google::Apis::Core::JsonRepresentation
916
934
  property :auth_code, as: 'authCode'
935
+ property :auth_uri, as: 'authUri'
917
936
  property :client_id, as: 'clientId'
918
937
  property :client_secret, as: 'clientSecret', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
919
938
 
@@ -1087,6 +1106,7 @@ module Google
1087
1106
  class Representation < Google::Apis::Core::JsonRepresentation
1088
1107
  property :name, as: 'name'
1089
1108
  property :payg, as: 'payg'
1109
+ property :tenant_project_id, as: 'tenantProjectId'
1090
1110
  property :vpcsc, as: 'vpcsc'
1091
1111
  end
1092
1112
  end
@@ -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.29.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-14 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.29.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: []