google-apis-connectors_v2 0.3.0 → 0.5.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: 2f725eb1bfc9ae0387fdf5b6fdb59f0cf80363736ede6696650c5a8dae049ef6
4
- data.tar.gz: 6b2bd0673ae2a423858e2bfe997a98450a910da7d7b9fd66e145c5a78f15fed6
3
+ metadata.gz: 93b3869b3a65f1939c0187cf9bf8297f5598e600b6289f1f8c99536c043479ec
4
+ data.tar.gz: 791feab7c806d4583986f52f1ef3bcabfcdedf6b942ba9efd9d6124729b1312e
5
5
  SHA512:
6
- metadata.gz: 063b42f58ce1065b140dd81689e9f07620e0b9e06d08b1b7b01ad761c1f2b37dd0f30199ee35eb693a8308c0dcc847b2d2b1d358a93aac2fd3a87ca7df92e031
7
- data.tar.gz: 3e29aecf936bde2bfde3e08b0921da48008240ce934f95c480ac81bf5504b4a1171240f9b845294a44bd4b9ebff6c4674a1f65d7172344fc884ba19049778ede
6
+ metadata.gz: 53b71da94d85daf462d4e2489a58430cf7c25be007d7d631a47b8932494adca16c8524257c9099a46ebc026734b86f6b17c34c55a523fd5a35e4aaf15737d015
7
+ data.tar.gz: '09cecd17fdb9130d6bfd18b46ad91f46e5b7d7d2fb97c7ce0fcbb4e54fe6359477bc3f0156791af7b3869da454bbfaee6e3f2db7e0bf3421666bc3e3828d18a6'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.5.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230812
6
+
7
+ ### v0.4.0 (2023-02-19)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.3.0 (2022-10-19)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -419,18 +419,63 @@ module Google
419
419
  class Query
420
420
  include Google::Apis::Core::Hashable
421
421
 
422
+ # Sets the limit for the maximum number of rows returned after the query
423
+ # execution.
424
+ # Corresponds to the JSON property `maxRows`
425
+ # @return [Fixnum]
426
+ attr_accessor :max_rows
427
+
422
428
  # Required. Sql query to execute.
423
429
  # Corresponds to the JSON property `query`
424
430
  # @return [String]
425
431
  attr_accessor :query
426
432
 
433
+ # In the struct, the value corresponds to the value of query parameter and date
434
+ # type corresponds to the date type of the query parameter.
435
+ # Corresponds to the JSON property `queryParameters`
436
+ # @return [Array<Google::Apis::ConnectorsV2::QueryParameter>]
437
+ attr_accessor :query_parameters
438
+
439
+ # Sets the number of seconds the driver will wait for a query to execute.
440
+ # Corresponds to the JSON property `timeout`
441
+ # @return [Fixnum]
442
+ attr_accessor :timeout
443
+
427
444
  def initialize(**args)
428
445
  update!(**args)
429
446
  end
430
447
 
431
448
  # Update properties of this object
432
449
  def update!(**args)
450
+ @max_rows = args[:max_rows] if args.key?(:max_rows)
433
451
  @query = args[:query] if args.key?(:query)
452
+ @query_parameters = args[:query_parameters] if args.key?(:query_parameters)
453
+ @timeout = args[:timeout] if args.key?(:timeout)
454
+ end
455
+ end
456
+
457
+ # Query parameter definition
458
+ class QueryParameter
459
+ include Google::Apis::Core::Hashable
460
+
461
+ #
462
+ # Corresponds to the JSON property `dataType`
463
+ # @return [String]
464
+ attr_accessor :data_type
465
+
466
+ #
467
+ # Corresponds to the JSON property `value`
468
+ # @return [String]
469
+ attr_accessor :value
470
+
471
+ def initialize(**args)
472
+ update!(**args)
473
+ end
474
+
475
+ # Update properties of this object
476
+ def update!(**args)
477
+ @data_type = args[:data_type] if args.key?(:data_type)
478
+ @value = args[:value] if args.key?(:value)
434
479
  end
435
480
  end
436
481
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV2
18
18
  # Version of the google-apis-connectors_v2 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220808"
25
+ REVISION = "20230812"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class QueryParameter
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class Reference
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -245,7 +251,19 @@ module Google
245
251
  class Query
246
252
  # @private
247
253
  class Representation < Google::Apis::Core::JsonRepresentation
254
+ property :max_rows, :numeric_string => true, as: 'maxRows'
248
255
  property :query, as: 'query'
256
+ collection :query_parameters, as: 'queryParameters', class: Google::Apis::ConnectorsV2::QueryParameter, decorator: Google::Apis::ConnectorsV2::QueryParameter::Representation
257
+
258
+ property :timeout, :numeric_string => true, as: 'timeout'
259
+ end
260
+ end
261
+
262
+ class QueryParameter
263
+ # @private
264
+ class Representation < Google::Apis::Core::JsonRepresentation
265
+ property :data_type, as: 'dataType'
266
+ property :value, as: 'value'
249
267
  end
250
268
  end
251
269
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Connectors API V2