google-apis-connectors_v2 0.4.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: b36fddee283cb21920e5cd4bd725403f2a632ecd452fd66b563d4c9c395e8803
4
- data.tar.gz: 4fac77f75c9ec4fd21bcd032a027078587d35130ddca47654e779aa0912e0774
3
+ metadata.gz: 93b3869b3a65f1939c0187cf9bf8297f5598e600b6289f1f8c99536c043479ec
4
+ data.tar.gz: 791feab7c806d4583986f52f1ef3bcabfcdedf6b942ba9efd9d6124729b1312e
5
5
  SHA512:
6
- metadata.gz: bfa7a96c04711e8bdef351a4685bdff6038ab10ae299799bda041047478869fd23c30081fc5e4da0f315dc7717895d9fdc572dbd5f6cb00f0aa983bdfc6dd9dd
7
- data.tar.gz: 54694d0bfc2f663b26783011d4a0f4e18f5e32cb537d12c77612fe0e482e16fb9ddd05f9d42d07c83795be3464667e3fa729486ba10e83abea3ab3444b3a0d48
6
+ metadata.gz: 53b71da94d85daf462d4e2489a58430cf7c25be007d7d631a47b8932494adca16c8524257c9099a46ebc026734b86f6b17c34c55a523fd5a35e4aaf15737d015
7
+ data.tar.gz: '09cecd17fdb9130d6bfd18b46ad91f46e5b7d7d2fb97c7ce0fcbb4e54fe6359477bc3f0156791af7b3869da454bbfaee6e3f2db7e0bf3421666bc3e3828d18a6'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.4.0 (2023-02-19)
4
8
 
5
9
  * Regenerated using generator version 0.12.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.4.0"
19
+ GEM_VERSION = "0.5.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 = "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.4.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: 2023-02-19 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
@@ -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.4.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.4.2
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