google-cloud-connectors-v1 0.2.0 → 0.3.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: 1126747b9491f028538d52a31af04e3112714526bf050563de574e4307d065ed
4
- data.tar.gz: 33be5b7fc63d72af78b31a3f42d5dab248437fd4279e11dcb44e37df4198967c
3
+ metadata.gz: b93699e172b422a2faf3803ba631ad17d7287636d870f560a9c9a7f03d39bcf3
4
+ data.tar.gz: 1f269a52bbc67e8458355a5f2ff40ec15102af082b6959bd937ce1c92a868813
5
5
  SHA512:
6
- metadata.gz: 0fb5620b28bfb098d62aaf8b8083949472cceacf2c754ab8a87c7131a79b12a42242c24ff22fa65e2671f9bb486ce0a7a0a620dc3e5cdfa1816a706b1a249323
7
- data.tar.gz: c42a7eedbe36e5380a5ac325fc2d875f3e8d1ab22648fa6d9c29cddf0d5b9785ae5e138e4a7e8e5fbace4edd40bf7138d5a0fd7fdb0e8092e3e0af0ddcc1ddfb
6
+ metadata.gz: e705a1a146ed9a67e0312a86b5c202d0eacd5393060309a9f35dbd7338bc93e143fa52469c849cf0faf91b9a52ffd1d904eb80b8ad8dbb228c0d805a3fbf9486
7
+ data.tar.gz: 0b974b0d7bcc5443fdc22f715d34f23bfd07664a41fd68b0d3c9479ff54fc11f0c74f0bd73d463731d3da66de3601d551011e5a0e28c2034c2a2dce5f6461d81
data/README.md CHANGED
@@ -83,7 +83,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
83
83
 
84
84
  ## Supported Ruby Versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.0+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported
89
89
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1960,6 +1960,13 @@ module Google
1960
1960
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1961
1961
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1962
1962
  # * (`nil`) indicating no credentials
1963
+ #
1964
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1965
+ # external source for authentication to Google Cloud, you must validate it before
1966
+ # providing it to a Google API client library. Providing an unvalidated credential
1967
+ # configuration to Google APIs can compromise the security of your systems and data.
1968
+ # For more information, refer to [Validate credential configurations from external
1969
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1963
1970
  # @return [::Object]
1964
1971
  # @!attribute [rw] scope
1965
1972
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -1826,6 +1826,13 @@ module Google
1826
1826
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1827
1827
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1828
1828
  # * (`nil`) indicating no credentials
1829
+ #
1830
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1831
+ # external source for authentication to Google Cloud, you must validate it before
1832
+ # providing it to a Google API client library. Providing an unvalidated credential
1833
+ # configuration to Google APIs can compromise the security of your systems and data.
1834
+ # For more information, refer to [Validate credential configurations from external
1835
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1829
1836
  # @return [::Object]
1830
1837
  # @!attribute [rw] scope
1831
1838
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Connectors
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -28,15 +28,23 @@ module Google
28
28
  # @!attribute [rw] user_password
29
29
  # @return [::Google::Cloud::Connectors::V1::AuthConfig::UserPassword]
30
30
  # UserPassword.
31
+ #
32
+ # Note: The following fields are mutually exclusive: `user_password`, `oauth2_jwt_bearer`, `oauth2_client_credentials`, `ssh_public_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
33
  # @!attribute [rw] oauth2_jwt_bearer
32
34
  # @return [::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer]
33
35
  # Oauth2JwtBearer.
36
+ #
37
+ # Note: The following fields are mutually exclusive: `oauth2_jwt_bearer`, `user_password`, `oauth2_client_credentials`, `ssh_public_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
38
  # @!attribute [rw] oauth2_client_credentials
35
39
  # @return [::Google::Cloud::Connectors::V1::AuthConfig::Oauth2ClientCredentials]
36
40
  # Oauth2ClientCredentials.
41
+ #
42
+ # Note: The following fields are mutually exclusive: `oauth2_client_credentials`, `user_password`, `oauth2_jwt_bearer`, `ssh_public_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
37
43
  # @!attribute [rw] ssh_public_key
38
44
  # @return [::Google::Cloud::Connectors::V1::AuthConfig::SshPublicKey]
39
45
  # SSH Public Key.
46
+ #
47
+ # Note: The following fields are mutually exclusive: `ssh_public_key`, `user_password`, `oauth2_jwt_bearer`, `oauth2_client_credentials`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
48
  # @!attribute [rw] additional_variables
41
49
  # @return [::Array<::Google::Cloud::Connectors::V1::ConfigVariable>]
42
50
  # List containing additional auth configs.
@@ -162,15 +162,23 @@ module Google
162
162
  # @!attribute [rw] int_value
163
163
  # @return [::Integer]
164
164
  # Value is an integer
165
+ #
166
+ # Note: The following fields are mutually exclusive: `int_value`, `bool_value`, `string_value`, `secret_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
165
167
  # @!attribute [rw] bool_value
166
168
  # @return [::Boolean]
167
169
  # Value is a bool.
170
+ #
171
+ # Note: The following fields are mutually exclusive: `bool_value`, `int_value`, `string_value`, `secret_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
168
172
  # @!attribute [rw] string_value
169
173
  # @return [::String]
170
174
  # Value is a string.
175
+ #
176
+ # Note: The following fields are mutually exclusive: `string_value`, `int_value`, `bool_value`, `secret_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
177
  # @!attribute [rw] secret_value
172
178
  # @return [::Google::Cloud::Connectors::V1::Secret]
173
179
  # Value is a secret.
180
+ #
181
+ # Note: The following fields are mutually exclusive: `secret_value`, `int_value`, `bool_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
174
182
  class ConfigVariable
175
183
  include ::Google::Protobuf::MessageExts
176
184
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -164,10 +164,14 @@ module Google
164
164
  # Static Comma separated backends which are common for all Connection
165
165
  # resources. Supported formats for each backend are host:port or just
166
166
  # host (host can be ip address or domain name).
167
+ #
168
+ # Note: The following fields are mutually exclusive: `backends`, `extraction_rules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
167
169
  # @!attribute [rw] extraction_rules
168
170
  # @return [::Google::Cloud::Connectors::V1::ExtractionRules]
169
171
  # Extractions Rules to extract the backends from customer provided
170
172
  # configuration.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `extraction_rules`, `backends`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
175
  class EgressControlConfig
172
176
  include ::Google::Protobuf::MessageExts
173
177
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -37,9 +37,13 @@ module Google
37
37
  # @return [::String]
38
38
  # PSC service attachments.
39
39
  # Format: projects/*/regions/*/serviceAttachments/*
40
+ #
41
+ # Note: The following fields are mutually exclusive: `service_attachment`, `host`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
42
  # @!attribute [rw] host
41
43
  # @return [::String]
42
44
  # For publicly routable host.
45
+ #
46
+ # Note: The following fields are mutually exclusive: `host`, `service_attachment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
47
  # @!attribute [rw] port
44
48
  # @return [::Integer]
45
49
  # The port is the target port number that is accepted by the destination.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-connectors-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -152,7 +151,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
152
151
  licenses:
153
152
  - Apache-2.0
154
153
  metadata: {}
155
- post_install_message:
156
154
  rdoc_options: []
157
155
  require_paths:
158
156
  - lib
@@ -160,15 +158,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
158
  requirements:
161
159
  - - ">="
162
160
  - !ruby/object:Gem::Version
163
- version: '2.7'
161
+ version: '3.0'
164
162
  required_rubygems_version: !ruby/object:Gem::Requirement
165
163
  requirements:
166
164
  - - ">="
167
165
  - !ruby/object:Gem::Version
168
166
  version: '0'
169
167
  requirements: []
170
- rubygems_version: 3.5.23
171
- signing_key:
168
+ rubygems_version: 3.6.2
172
169
  specification_version: 4
173
170
  summary: Enables users to create and manage connections to Google Cloud services and
174
171
  third-party business applications using the Connectors interface.