google-apis-connectors_v1 0.55.0 → 0.57.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: ed5a8f214209828f547d9d605582d7a16a5bc2cc62cab378a0ea295443d55247
4
- data.tar.gz: 25bcde34044fd5ba67e8b054f187d3780d9040241c65a127252934cb28324e09
3
+ metadata.gz: c8e1e87638c3f966822260036eecc73e9c73db39a008bf214c9c184972290ea6
4
+ data.tar.gz: f5424ccf56a952cde97a3fe77e07ff7e16015efa927db42b79066ce47704120c
5
5
  SHA512:
6
- metadata.gz: 1a42bddd57ac6493245f57c75ed95e9e8294caeedaba6c8c5cdbbc0723d3d8f7a26928e8abaf57f734d941bfb74d03224304db1f9d7417e1ee21d77e9507eede
7
- data.tar.gz: 16916134408420f3be4aeebf56e9b50ecb19a77e1a3fd2671635d0485b1a5758d77f90d3edbf3467d144c6a7c7659e29923f20f605ae9b39edec7c9a355a6ba2
6
+ metadata.gz: fdfd898d62e10f1753ebabb9ab3327aab79de3a1542d9cb7fa58aae208d398a04ad1282de27dd3139748c03feb9e80b163d5354b1de0a4fe5a043486c9b73223
7
+ data.tar.gz: 2f2a185000ade6339463018169ff81c5461a1f9a7cbed3d0c67b3fd4a36dfd7e0443496bef2029cf5b58ff5db7c80c8f1d4616af1fe1888d3bc935646a2b2767
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.57.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240415
6
+
7
+ ### v0.56.0 (2024-03-31)
8
+
9
+ * Regenerated from discovery document revision 20240320
10
+
3
11
  ### v0.55.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240319
@@ -242,6 +242,25 @@ module Google
242
242
  end
243
243
  end
244
244
 
245
+ # Billing config for the connection.
246
+ class BillingConfig
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # Output only. Billing category for the connector.
250
+ # Corresponds to the JSON property `billingCategory`
251
+ # @return [String]
252
+ attr_accessor :billing_category
253
+
254
+ def initialize(**args)
255
+ update!(**args)
256
+ end
257
+
258
+ # Update properties of this object
259
+ def update!(**args)
260
+ @billing_category = args[:billing_category] if args.key?(:billing_category)
261
+ end
262
+ end
263
+
245
264
  # Associates `members`, or principals, with a `role`.
246
265
  class Binding
247
266
  include Google::Apis::Core::Hashable
@@ -524,6 +543,11 @@ module Google
524
543
  # @return [Google::Apis::ConnectorsV1::AuthConfig]
525
544
  attr_accessor :auth_config
526
545
 
546
+ # Billing config for the connection.
547
+ # Corresponds to the JSON property `billingConfig`
548
+ # @return [Google::Apis::ConnectorsV1::BillingConfig]
549
+ attr_accessor :billing_config
550
+
527
551
  # Optional. Configuration for configuring the connection with an external system.
528
552
  # Corresponds to the JSON property `configVariables`
529
553
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
@@ -680,6 +704,7 @@ module Google
680
704
  # Update properties of this object
681
705
  def update!(**args)
682
706
  @auth_config = args[:auth_config] if args.key?(:auth_config)
707
+ @billing_config = args[:billing_config] if args.key?(:billing_config)
683
708
  @config_variables = args[:config_variables] if args.key?(:config_variables)
684
709
  @connection_revision = args[:connection_revision] if args.key?(:connection_revision)
685
710
  @connector_version = args[:connector_version] if args.key?(:connector_version)
@@ -1178,11 +1203,16 @@ module Google
1178
1203
  class CustomConnector
1179
1204
  include Google::Apis::Core::Hashable
1180
1205
 
1181
- # Optional. Active connector versions.
1206
+ # Output only. Active connector versions.
1182
1207
  # Corresponds to the JSON property `activeConnectorVersions`
1183
1208
  # @return [Array<String>]
1184
1209
  attr_accessor :active_connector_versions
1185
1210
 
1211
+ # Output only. All connector versions.
1212
+ # Corresponds to the JSON property `allConnectorVersions`
1213
+ # @return [Array<String>]
1214
+ attr_accessor :all_connector_versions
1215
+
1186
1216
  # Output only. Created time.
1187
1217
  # Corresponds to the JSON property `createTime`
1188
1218
  # @return [String]
@@ -1233,6 +1263,7 @@ module Google
1233
1263
  # Update properties of this object
1234
1264
  def update!(**args)
1235
1265
  @active_connector_versions = args[:active_connector_versions] if args.key?(:active_connector_versions)
1266
+ @all_connector_versions = args[:all_connector_versions] if args.key?(:all_connector_versions)
1236
1267
  @create_time = args[:create_time] if args.key?(:create_time)
1237
1268
  @custom_connector_type = args[:custom_connector_type] if args.key?(:custom_connector_type)
1238
1269
  @description = args[:description] if args.key?(:description)
@@ -4701,6 +4732,11 @@ module Google
4701
4732
  # @return [Google::Apis::ConnectorsV1::JsonSchema]
4702
4733
  attr_accessor :json_schema
4703
4734
 
4735
+ # List of operations supported by this entity
4736
+ # Corresponds to the JSON property `operations`
4737
+ # @return [Array<String>]
4738
+ attr_accessor :operations
4739
+
4704
4740
  def initialize(**args)
4705
4741
  update!(**args)
4706
4742
  end
@@ -4710,6 +4746,7 @@ module Google
4710
4746
  @entity = args[:entity] if args.key?(:entity)
4711
4747
  @fields = args[:fields] if args.key?(:fields)
4712
4748
  @json_schema = args[:json_schema] if args.key?(:json_schema)
4749
+ @operations = args[:operations] if args.key?(:operations)
4713
4750
  end
4714
4751
  end
4715
4752
 
@@ -4773,6 +4810,69 @@ module Google
4773
4810
  end
4774
4811
  end
4775
4812
 
4813
+ # SearchConnectionInstance represents an instance of connector with specific
4814
+ # fields
4815
+ class SearchConnectionInstance
4816
+ include Google::Apis::Core::Hashable
4817
+
4818
+ # Schema of a runtime action.
4819
+ # Corresponds to the JSON property `actionSchema`
4820
+ # @return [Google::Apis::ConnectorsV1::RuntimeActionSchema]
4821
+ attr_accessor :action_schema
4822
+
4823
+ # Connection represents an instance of connector.
4824
+ # Corresponds to the JSON property `connection`
4825
+ # @return [Google::Apis::ConnectorsV1::Connection]
4826
+ attr_accessor :connection
4827
+
4828
+ # Schema of a runtime entity.
4829
+ # Corresponds to the JSON property `entitySchema`
4830
+ # @return [Google::Apis::ConnectorsV1::RuntimeEntitySchema]
4831
+ attr_accessor :entity_schema
4832
+
4833
+ def initialize(**args)
4834
+ update!(**args)
4835
+ end
4836
+
4837
+ # Update properties of this object
4838
+ def update!(**args)
4839
+ @action_schema = args[:action_schema] if args.key?(:action_schema)
4840
+ @connection = args[:connection] if args.key?(:connection)
4841
+ @entity_schema = args[:entity_schema] if args.key?(:entity_schema)
4842
+ end
4843
+ end
4844
+
4845
+ # Response message for Connectors.SearchConnections.
4846
+ class SearchConnectionsResponse
4847
+ include Google::Apis::Core::Hashable
4848
+
4849
+ # A list of connectors.
4850
+ # Corresponds to the JSON property `connections`
4851
+ # @return [Array<Google::Apis::ConnectorsV1::SearchConnectionInstance>]
4852
+ attr_accessor :connections
4853
+
4854
+ # Optional. page_token
4855
+ # Corresponds to the JSON property `nextPageToken`
4856
+ # @return [String]
4857
+ attr_accessor :next_page_token
4858
+
4859
+ # Locations that could not be reached.
4860
+ # Corresponds to the JSON property `unreachable`
4861
+ # @return [Array<String>]
4862
+ attr_accessor :unreachable
4863
+
4864
+ def initialize(**args)
4865
+ update!(**args)
4866
+ end
4867
+
4868
+ # Update properties of this object
4869
+ def update!(**args)
4870
+ @connections = args[:connections] if args.key?(:connections)
4871
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4872
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4873
+ end
4874
+ end
4875
+
4776
4876
  # Secret provides a reference to entries in Secret Manager.
4777
4877
  class Secret
4778
4878
  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.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240319"
25
+ REVISION = "20240415"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BillingConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class Binding
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -664,6 +670,18 @@ module Google
664
670
  include Google::Apis::Core::JsonObjectSupport
665
671
  end
666
672
 
673
+ class SearchConnectionInstance
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class SearchConnectionsResponse
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
667
685
  class Secret
668
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
687
 
@@ -843,6 +861,13 @@ module Google
843
861
  end
844
862
  end
845
863
 
864
+ class BillingConfig
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :billing_category, as: 'billingCategory'
868
+ end
869
+ end
870
+
846
871
  class Binding
847
872
  # @private
848
873
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -902,6 +927,8 @@ module Google
902
927
  class Representation < Google::Apis::Core::JsonRepresentation
903
928
  property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
904
929
 
930
+ property :billing_config, as: 'billingConfig', class: Google::Apis::ConnectorsV1::BillingConfig, decorator: Google::Apis::ConnectorsV1::BillingConfig::Representation
931
+
905
932
  collection :config_variables, as: 'configVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
906
933
 
907
934
  property :connection_revision, :numeric_string => true, as: 'connectionRevision'
@@ -1063,6 +1090,7 @@ module Google
1063
1090
  # @private
1064
1091
  class Representation < Google::Apis::Core::JsonRepresentation
1065
1092
  collection :active_connector_versions, as: 'activeConnectorVersions'
1093
+ collection :all_connector_versions, as: 'allConnectorVersions'
1066
1094
  property :create_time, as: 'createTime'
1067
1095
  property :custom_connector_type, as: 'customConnectorType'
1068
1096
  property :description, as: 'description'
@@ -2012,6 +2040,7 @@ module Google
2012
2040
 
2013
2041
  property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV1::JsonSchema, decorator: Google::Apis::ConnectorsV1::JsonSchema::Representation
2014
2042
 
2043
+ collection :operations, as: 'operations'
2015
2044
  end
2016
2045
  end
2017
2046
 
@@ -2033,6 +2062,28 @@ module Google
2033
2062
  end
2034
2063
  end
2035
2064
 
2065
+ class SearchConnectionInstance
2066
+ # @private
2067
+ class Representation < Google::Apis::Core::JsonRepresentation
2068
+ property :action_schema, as: 'actionSchema', class: Google::Apis::ConnectorsV1::RuntimeActionSchema, decorator: Google::Apis::ConnectorsV1::RuntimeActionSchema::Representation
2069
+
2070
+ property :connection, as: 'connection', class: Google::Apis::ConnectorsV1::Connection, decorator: Google::Apis::ConnectorsV1::Connection::Representation
2071
+
2072
+ property :entity_schema, as: 'entitySchema', class: Google::Apis::ConnectorsV1::RuntimeEntitySchema, decorator: Google::Apis::ConnectorsV1::RuntimeEntitySchema::Representation
2073
+
2074
+ end
2075
+ end
2076
+
2077
+ class SearchConnectionsResponse
2078
+ # @private
2079
+ class Representation < Google::Apis::Core::JsonRepresentation
2080
+ collection :connections, as: 'connections', class: Google::Apis::ConnectorsV1::SearchConnectionInstance, decorator: Google::Apis::ConnectorsV1::SearchConnectionInstance::Representation
2081
+
2082
+ property :next_page_token, as: 'nextPageToken'
2083
+ collection :unreachable, as: 'unreachable'
2084
+ end
2085
+ end
2086
+
2036
2087
  class Secret
2037
2088
  # @private
2038
2089
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -493,7 +493,8 @@ module Google
493
493
  # connection: * `lock_config` To suspend/resume a connection: * `suspended` To
494
494
  # update the connection details: * `description` * `labels` * `connector_version`
495
495
  # * `config_variables` * `auth_config` * `destination_configs` * `node_config` *
496
- # `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config`
496
+ # `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` *
497
+ # `auth_override_enabled`
497
498
  # @param [String] fields
498
499
  # Selector specifying which fields to include in a partial response.
499
500
  # @param [String] quota_user
@@ -557,6 +558,46 @@ module Google
557
558
  execute_or_queue_command(command, &block)
558
559
  end
559
560
 
561
+ # Returns Top matching Connections for a given query.
562
+ # @param [String] name
563
+ # Required. Parent resource of the Connection, of the form: `projects/*/
564
+ # locations/*/connections`
565
+ # @param [Fixnum] page_size
566
+ # Optional. The number of top matching connectors to return
567
+ # @param [String] page_token
568
+ # Optional. page_token
569
+ # @param [String] query
570
+ # Required. The query against which the search needs to be done.
571
+ # @param [String] fields
572
+ # Selector specifying which fields to include in a partial response.
573
+ # @param [String] quota_user
574
+ # Available to use for quota purposes for server-side applications. Can be any
575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
576
+ # @param [Google::Apis::RequestOptions] options
577
+ # Request-specific options
578
+ #
579
+ # @yield [result, err] Result & error if block supplied
580
+ # @yieldparam result [Google::Apis::ConnectorsV1::SearchConnectionsResponse] parsed result object
581
+ # @yieldparam err [StandardError] error object if request failed
582
+ #
583
+ # @return [Google::Apis::ConnectorsV1::SearchConnectionsResponse]
584
+ #
585
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
586
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
587
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
588
+ def search_project_location_connections(name, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
589
+ command = make_simple_command(:get, 'v1/{+name}:search', options)
590
+ command.response_representation = Google::Apis::ConnectorsV1::SearchConnectionsResponse::Representation
591
+ command.response_class = Google::Apis::ConnectorsV1::SearchConnectionsResponse
592
+ command.params['name'] = name unless name.nil?
593
+ command.query['pageSize'] = page_size unless page_size.nil?
594
+ command.query['pageToken'] = page_token unless page_token.nil?
595
+ command.query['query'] = query unless query.nil?
596
+ command.query['fields'] = fields unless fields.nil?
597
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
598
+ execute_or_queue_command(command, &block)
599
+ end
600
+
560
601
  # Sets the access control policy on the specified resource. Replaces any
561
602
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
562
603
  # PERMISSION_DENIED` errors.
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.55.0
4
+ version: 0.57.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: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.57.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: []