google-apis-connectors_v2 0.18.0 → 0.20.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: '07368663e1e2436cd3025008dbf00b7eaca0206593e91d822d889e08537d7129'
4
- data.tar.gz: b69f40c5dacd3750fdf1b82d8313e6ccf3a2ef22ccea65480b3ec88c5da80b31
3
+ metadata.gz: ca95c1dbefe4c49f0616ba2be6aa80f88f30b597ae56449d53999067d6f813c4
4
+ data.tar.gz: 7add59768ff3cfef63227028a98e175bb6348d8f9dced0346dba5cf316def155
5
5
  SHA512:
6
- metadata.gz: f942b60dca1ab6a014d3a8749f837263d9e322491309e863ed6417f20c0df3f3da9f37a2c45939d440964b134a30567501cc7245d84c96c781f3d8b929e9c7a3
7
- data.tar.gz: 5ee59bee735bc34583f124c468015df0e1e932dc91eb33f178a77ac0d97d639f7910376eef8bafeecfad0055d708b239001aa610c27107ac59fae3d1f1f0af75
6
+ metadata.gz: 75e16b4e51967d226576ca94d96fcd526f61dd64b10c0da11b89fd29614ee0959a76915ebafc7c7cc616db4e69e5e7c753e0c870ade49be08a4a842b38138a92
7
+ data.tar.gz: 6d2bc471e68a160e325d1ab38c25a1912490da0405e3a989ec1488a7c95737fdea6d300a8827aad91902be2fed6bdb67fd060907e168f24be3e20c87dcc0f7b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.20.0 (2024-10-27)
4
+
5
+ * Regenerated from discovery document revision 20241015
6
+
7
+ ### v0.19.0 (2024-08-11)
8
+
9
+ * Regenerated from discovery document revision 20240729
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.18.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240708
@@ -110,6 +110,39 @@ module Google
110
110
  end
111
111
  end
112
112
 
113
+ # AuthCodeData contains the data the runtime plane will give the connector
114
+ # backend in exchange for access and refresh tokens.
115
+ class AuthCodeData
116
+ include Google::Apis::Core::Hashable
117
+
118
+ # OAuth authorization code.
119
+ # Corresponds to the JSON property `authCode`
120
+ # @return [String]
121
+ attr_accessor :auth_code
122
+
123
+ # OAuth PKCE verifier, needed if PKCE is enabled for this particular connection.
124
+ # Corresponds to the JSON property `pkceVerifier`
125
+ # @return [String]
126
+ attr_accessor :pkce_verifier
127
+
128
+ # OAuth redirect URI passed in during the auth code flow, required by some OAuth
129
+ # backends.
130
+ # Corresponds to the JSON property `redirectUri`
131
+ # @return [String]
132
+ attr_accessor :redirect_uri
133
+
134
+ def initialize(**args)
135
+ update!(**args)
136
+ end
137
+
138
+ # Update properties of this object
139
+ def update!(**args)
140
+ @auth_code = args[:auth_code] if args.key?(:auth_code)
141
+ @pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
142
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
143
+ end
144
+ end
145
+
113
146
  # Response containing status of the connector for readiness prober.
114
147
  class CheckReadinessResponse
115
148
  include Google::Apis::Core::Hashable
@@ -352,16 +385,23 @@ module Google
352
385
  end
353
386
  end
354
387
 
355
- # ExchangeAuthCodeRequest currently includes no fields.
388
+ # ExchangeAuthCodeRequest currently includes the auth code data.
356
389
  class ExchangeAuthCodeRequest
357
390
  include Google::Apis::Core::Hashable
358
391
 
392
+ # AuthCodeData contains the data the runtime plane will give the connector
393
+ # backend in exchange for access and refresh tokens.
394
+ # Corresponds to the JSON property `authCodeData`
395
+ # @return [Google::Apis::ConnectorsV2::AuthCodeData]
396
+ attr_accessor :auth_code_data
397
+
359
398
  def initialize(**args)
360
399
  update!(**args)
361
400
  end
362
401
 
363
402
  # Update properties of this object
364
403
  def update!(**args)
404
+ @auth_code_data = args[:auth_code_data] if args.key?(:auth_code_data)
365
405
  end
366
406
  end
367
407
 
@@ -1319,16 +1359,23 @@ module Google
1319
1359
  end
1320
1360
  end
1321
1361
 
1322
- # RefreshAccessTokenRequest currently includes no fields.
1362
+ # RefreshAccessTokenRequest includes the refresh token.
1323
1363
  class RefreshAccessTokenRequest
1324
1364
  include Google::Apis::Core::Hashable
1325
1365
 
1366
+ # Optional. Refresh Token String. If the Refresh Token is not provided, the
1367
+ # runtime will read the data from the secret manager.
1368
+ # Corresponds to the JSON property `refreshToken`
1369
+ # @return [String]
1370
+ attr_accessor :refresh_token
1371
+
1326
1372
  def initialize(**args)
1327
1373
  update!(**args)
1328
1374
  end
1329
1375
 
1330
1376
  # Update properties of this object
1331
1377
  def update!(**args)
1378
+ @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
1332
1379
  end
1333
1380
  end
1334
1381
 
@@ -1510,24 +1557,28 @@ module Google
1510
1557
  class TimeOfDay
1511
1558
  include Google::Apis::Core::Hashable
1512
1559
 
1513
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
1514
- # allow the value "24:00:00" for scenarios like business closing time.
1560
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
1561
+ # typically must be less than or equal to 23. An API may choose to allow the
1562
+ # value "24:00:00" for scenarios like business closing time.
1515
1563
  # Corresponds to the JSON property `hours`
1516
1564
  # @return [Fixnum]
1517
1565
  attr_accessor :hours
1518
1566
 
1519
- # Minutes of hour of day. Must be from 0 to 59.
1567
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
1568
+ # to 59.
1520
1569
  # Corresponds to the JSON property `minutes`
1521
1570
  # @return [Fixnum]
1522
1571
  attr_accessor :minutes
1523
1572
 
1524
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1573
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
1574
+ # less than or equal to 999,999,999.
1525
1575
  # Corresponds to the JSON property `nanos`
1526
1576
  # @return [Fixnum]
1527
1577
  attr_accessor :nanos
1528
1578
 
1529
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1530
- # allow the value 60 if it allows leap-seconds.
1579
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
1580
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
1581
+ # seconds.
1531
1582
  # Corresponds to the JSON property `seconds`
1532
1583
  # @return [Fixnum]
1533
1584
  attr_accessor :seconds
@@ -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.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240708"
25
+ REVISION = "20241015"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AuthCodeData
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class CheckReadinessResponse
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -312,6 +318,15 @@ module Google
312
318
  end
313
319
  end
314
320
 
321
+ class AuthCodeData
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :auth_code, as: 'authCode'
325
+ property :pkce_verifier, as: 'pkceVerifier'
326
+ property :redirect_uri, as: 'redirectUri'
327
+ end
328
+ end
329
+
315
330
  class CheckReadinessResponse
316
331
  # @private
317
332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -386,6 +401,8 @@ module Google
386
401
  class ExchangeAuthCodeRequest
387
402
  # @private
388
403
  class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :auth_code_data, as: 'authCodeData', class: Google::Apis::ConnectorsV2::AuthCodeData, decorator: Google::Apis::ConnectorsV2::AuthCodeData::Representation
405
+
389
406
  end
390
407
  end
391
408
 
@@ -640,6 +657,7 @@ module Google
640
657
  class RefreshAccessTokenRequest
641
658
  # @private
642
659
  class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :refresh_token, as: 'refreshToken'
643
661
  end
644
662
  end
645
663
 
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.18.0
4
+ version: 0.20.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-10-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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.20.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.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Connectors API V2