google-apis-connectors_v2 0.18.0 → 0.19.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b85a3065549e0778df4414ab86bba478ec959c7e488a3477f12916f4d1e8ed1
|
4
|
+
data.tar.gz: 32ff82a570ad34ee00a3dfff23c9c2b8e660b79e63e1d240a99e0d588dad0d6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250dd87c90133fcc5fbc15e2d8d5ab58377005f873cf5ead1cc94233c48ab9901132c009c027b8a8ed420c75fa0de7337cdaea9ec4c05c2f258ee52dc3a59a49
|
7
|
+
data.tar.gz: 29ffcbd3e4e6eb7e843146ced8dc603d776bad30dedf292da71669bebba7c84e92d4b1a01646e74d3915da57770f59a16aef8272a98d5022db409264ed060ba4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-connectors_v2
|
2
2
|
|
3
|
+
### v0.19.0 (2024-08-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240729
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.18.0 (2024-07-25)
|
4
9
|
|
5
10
|
* 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
|
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
|
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
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240729"
|
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.
|
4
|
+
version: 0.19.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-
|
11
|
+
date: 2024-08-11 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.19.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: []
|