google-apis-bigqueryconnection_v1 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/bigqueryconnection_v1/classes.rb +133 -1
- data/lib/google/apis/bigqueryconnection_v1/gem_version.rb +3 -3
- data/lib/google/apis/bigqueryconnection_v1/representations.rb +75 -0
- data/lib/google/apis/bigqueryconnection_v1/service.rb +1 -1
- data/lib/google/apis/bigqueryconnection_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aab50b1aba04f8d2967b47cbfddb18a953e220e23c20204aed4ca929ce7cda9
|
4
|
+
data.tar.gz: b044f222027e805c8befef8e0b80b03b25f69f733b04ca29ff2d4a8c398efd60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9fe5e6eb59a2eeaf374a6222494feadd7ca58e50f794df91cba04a94d6fb71d317cfb6b900e463b5e385062eb4f83d65e1b51a0e980d3222ab1bda6262f70a0
|
7
|
+
data.tar.gz: e832b006e74f5d3436df96bba2870db9430cee0ddd1557eff3933b37f45545af2c1135f8ba0eac5e367aea57fa8c6e59ee0ed042ef371a72ce06b03ab5a91778
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-bigqueryconnection_v1
|
2
2
|
|
3
|
+
### v0.2.0 (2024-01-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240124
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.1.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240106
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/bigquery/) may provide guidance regarding the preferred client library to use.
|
82
|
+
The [product documentation](https://cloud.google.com/bigquery/docs/connections-api-intro) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -280,7 +280,10 @@ module Google
|
|
280
280
|
attr_accessor :members
|
281
281
|
|
282
282
|
# Role that is assigned to the list of `members`, or principals. For example, `
|
283
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
283
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
284
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
285
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
286
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
284
287
|
# Corresponds to the JSON property `role`
|
285
288
|
# @return [String]
|
286
289
|
attr_accessor :role
|
@@ -487,6 +490,11 @@ module Google
|
|
487
490
|
# @return [Google::Apis::BigqueryconnectionV1::CloudSqlProperties]
|
488
491
|
attr_accessor :cloud_sql
|
489
492
|
|
493
|
+
# Represents concrete parameter values for Connector Configuration.
|
494
|
+
# Corresponds to the JSON property `configuration`
|
495
|
+
# @return [Google::Apis::BigqueryconnectionV1::ConnectorConfiguration]
|
496
|
+
attr_accessor :configuration
|
497
|
+
|
490
498
|
# Output only. The creation timestamp of the connection.
|
491
499
|
# Corresponds to the JSON property `creationTime`
|
492
500
|
# @return [Fixnum]
|
@@ -548,6 +556,7 @@ module Google
|
|
548
556
|
@cloud_resource = args[:cloud_resource] if args.key?(:cloud_resource)
|
549
557
|
@cloud_spanner = args[:cloud_spanner] if args.key?(:cloud_spanner)
|
550
558
|
@cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql)
|
559
|
+
@configuration = args[:configuration] if args.key?(:configuration)
|
551
560
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
552
561
|
@description = args[:description] if args.key?(:description)
|
553
562
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
@@ -560,6 +569,129 @@ module Google
|
|
560
569
|
end
|
561
570
|
end
|
562
571
|
|
572
|
+
# Represents concrete parameter values for Connector Configuration.
|
573
|
+
class ConnectorConfiguration
|
574
|
+
include Google::Apis::Core::Hashable
|
575
|
+
|
576
|
+
# Client authentication.
|
577
|
+
# Corresponds to the JSON property `authentication`
|
578
|
+
# @return [Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAuthentication]
|
579
|
+
attr_accessor :authentication
|
580
|
+
|
581
|
+
# Required. Immutable. The ID of the Connector these parameters are configured
|
582
|
+
# for.
|
583
|
+
# Corresponds to the JSON property `connectorId`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :connector_id
|
586
|
+
|
587
|
+
# Remote endpoint specification.
|
588
|
+
# Corresponds to the JSON property `endpoint`
|
589
|
+
# @return [Google::Apis::BigqueryconnectionV1::ConnectorConfigurationEndpoint]
|
590
|
+
attr_accessor :endpoint
|
591
|
+
|
592
|
+
def initialize(**args)
|
593
|
+
update!(**args)
|
594
|
+
end
|
595
|
+
|
596
|
+
# Update properties of this object
|
597
|
+
def update!(**args)
|
598
|
+
@authentication = args[:authentication] if args.key?(:authentication)
|
599
|
+
@connector_id = args[:connector_id] if args.key?(:connector_id)
|
600
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
# Client authentication.
|
605
|
+
class ConnectorConfigurationAuthentication
|
606
|
+
include Google::Apis::Core::Hashable
|
607
|
+
|
608
|
+
# Username and Password authentication.
|
609
|
+
# Corresponds to the JSON property `usernamePassword`
|
610
|
+
# @return [Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword]
|
611
|
+
attr_accessor :username_password
|
612
|
+
|
613
|
+
def initialize(**args)
|
614
|
+
update!(**args)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Update properties of this object
|
618
|
+
def update!(**args)
|
619
|
+
@username_password = args[:username_password] if args.key?(:username_password)
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# Remote endpoint specification.
|
624
|
+
class ConnectorConfigurationEndpoint
|
625
|
+
include Google::Apis::Core::Hashable
|
626
|
+
|
627
|
+
# Host and port in a format of `hostname:port` as defined in https://www.ietf.
|
628
|
+
# org/rfc/rfc3986.html#section-3.2.2 and https://www.ietf.org/rfc/rfc3986.html#
|
629
|
+
# section-3.2.3.
|
630
|
+
# Corresponds to the JSON property `hostPort`
|
631
|
+
# @return [String]
|
632
|
+
attr_accessor :host_port
|
633
|
+
|
634
|
+
def initialize(**args)
|
635
|
+
update!(**args)
|
636
|
+
end
|
637
|
+
|
638
|
+
# Update properties of this object
|
639
|
+
def update!(**args)
|
640
|
+
@host_port = args[:host_port] if args.key?(:host_port)
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
# Secret value parameter.
|
645
|
+
class ConnectorConfigurationSecret
|
646
|
+
include Google::Apis::Core::Hashable
|
647
|
+
|
648
|
+
# Input only. Secret as plaintext.
|
649
|
+
# Corresponds to the JSON property `plaintext`
|
650
|
+
# @return [String]
|
651
|
+
attr_accessor :plaintext
|
652
|
+
|
653
|
+
# Output only. Indicates type of secret. Can be used to check type of stored
|
654
|
+
# secret value even if it's `INPUT_ONLY`.
|
655
|
+
# Corresponds to the JSON property `secretType`
|
656
|
+
# @return [String]
|
657
|
+
attr_accessor :secret_type
|
658
|
+
|
659
|
+
def initialize(**args)
|
660
|
+
update!(**args)
|
661
|
+
end
|
662
|
+
|
663
|
+
# Update properties of this object
|
664
|
+
def update!(**args)
|
665
|
+
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
666
|
+
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
# Username and Password authentication.
|
671
|
+
class ConnectorConfigurationUsernamePassword
|
672
|
+
include Google::Apis::Core::Hashable
|
673
|
+
|
674
|
+
# Secret value parameter.
|
675
|
+
# Corresponds to the JSON property `password`
|
676
|
+
# @return [Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret]
|
677
|
+
attr_accessor :password
|
678
|
+
|
679
|
+
# Required. Username.
|
680
|
+
# Corresponds to the JSON property `username`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :username
|
683
|
+
|
684
|
+
def initialize(**args)
|
685
|
+
update!(**args)
|
686
|
+
end
|
687
|
+
|
688
|
+
# Update properties of this object
|
689
|
+
def update!(**args)
|
690
|
+
@password = args[:password] if args.key?(:password)
|
691
|
+
@username = args[:username] if args.key?(:username)
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
563
695
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
564
696
|
# messages in your APIs. A typical example is to use it as the request or the
|
565
697
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigqueryconnectionV1
|
18
18
|
# Version of the google-apis-bigqueryconnection_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240124"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,36 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class ConnectorConfiguration
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ConnectorConfigurationAuthentication
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ConnectorConfigurationEndpoint
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ConnectorConfigurationSecret
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ConnectorConfigurationUsernamePassword
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
91
121
|
class Empty
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
123
|
|
@@ -274,6 +304,8 @@ module Google
|
|
274
304
|
|
275
305
|
property :cloud_sql, as: 'cloudSql', class: Google::Apis::BigqueryconnectionV1::CloudSqlProperties, decorator: Google::Apis::BigqueryconnectionV1::CloudSqlProperties::Representation
|
276
306
|
|
307
|
+
property :configuration, as: 'configuration', class: Google::Apis::BigqueryconnectionV1::ConnectorConfiguration, decorator: Google::Apis::BigqueryconnectionV1::ConnectorConfiguration::Representation
|
308
|
+
|
277
309
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
278
310
|
property :description, as: 'description'
|
279
311
|
property :friendly_name, as: 'friendlyName'
|
@@ -288,6 +320,49 @@ module Google
|
|
288
320
|
end
|
289
321
|
end
|
290
322
|
|
323
|
+
class ConnectorConfiguration
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
property :authentication, as: 'authentication', class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAuthentication, decorator: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAuthentication::Representation
|
327
|
+
|
328
|
+
property :connector_id, as: 'connectorId'
|
329
|
+
property :endpoint, as: 'endpoint', class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationEndpoint, decorator: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationEndpoint::Representation
|
330
|
+
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class ConnectorConfigurationAuthentication
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :username_password, as: 'usernamePassword', class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword, decorator: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword::Representation
|
338
|
+
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
class ConnectorConfigurationEndpoint
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
property :host_port, as: 'hostPort'
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class ConnectorConfigurationSecret
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :plaintext, as: 'plaintext'
|
353
|
+
property :secret_type, as: 'secretType'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
class ConnectorConfigurationUsernamePassword
|
358
|
+
# @private
|
359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
360
|
+
property :password, as: 'password', class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret, decorator: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret::Representation
|
361
|
+
|
362
|
+
property :username, as: 'username'
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
291
366
|
class Empty
|
292
367
|
# @private
|
293
368
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Bigqueryconnection = Google::Apis::BigqueryconnectionV1 # Alias the module
|
31
31
|
# service = Bigqueryconnection::BigQueryConnectionServiceService.new
|
32
32
|
#
|
33
|
-
# @see https://cloud.google.com/bigquery/
|
33
|
+
# @see https://cloud.google.com/bigquery/docs/connections-api-intro
|
34
34
|
class BigQueryConnectionServiceService < Google::Apis::Core::BaseService
|
35
35
|
DEFAULT_ENDPOINT_TEMPLATE = "https://bigqueryconnection.$UNIVERSE_DOMAIN$/"
|
36
36
|
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
#
|
24
24
|
# Allows users to manage BigQuery connections to external data sources.
|
25
25
|
#
|
26
|
-
# @see https://cloud.google.com/bigquery/
|
26
|
+
# @see https://cloud.google.com/bigquery/docs/connections-api-intro
|
27
27
|
module BigqueryconnectionV1
|
28
28
|
# Version of the BigQuery Connection API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigqueryconnection_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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-01-
|
11
|
+
date: 2024-01-28 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-bigqueryconnection_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryconnection_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryconnection_v1/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigqueryconnection_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|