google-cloud-datastream-v1 0.5.0 → 0.6.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/README.md +1 -1
- data/lib/google/cloud/datastream/v1/datastream/client.rb +27 -20
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +5 -3
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +27 -20
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +9 -7
- data/lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb +25 -25
- data/lib/google/cloud/datastream/v1/datastream_pb.rb +28 -190
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +26 -365
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +24 -17
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +33 -12
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c29e3b7c369f28aeba4ccaa6a6897e7018f5e598fa084ca484342877d868fe48
|
4
|
+
data.tar.gz: aaaf12fd7623037f73d888a83ddc760594fe130e7331c6ddd7ee81736c08ce7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33c21d9c333516fe8a572f01b0af3bfffa23c2ae884b2e2400d13c2b7fa88be2d10adc098c217c928b5331506f304dd744aaa242efdb604fad028cc41c06f992
|
7
|
+
data.tar.gz: a1ebebad6186664709afe058167117120eb4f0220795f0493396d18a45d340e547b0b01ca2fc9dd27a912a4cf8ad56c27d6aad4c2a509012bdf207d0516c0136
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -150,7 +150,7 @@ module Google
|
|
150
150
|
credentials = @config.credentials
|
151
151
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
152
152
|
# but only if the default endpoint does not have a region prefix.
|
153
|
-
enable_self_signed_jwt = @config.endpoint ==
|
153
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
154
154
|
!@config.endpoint.split(".").first.include?("-")
|
155
155
|
credentials ||= Credentials.default scope: @config.scope,
|
156
156
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -439,8 +439,8 @@ module Google
|
|
439
439
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
440
440
|
# not supported (00000000-0000-0000-0000-000000000000).
|
441
441
|
# @param validate_only [::Boolean]
|
442
|
-
# Optional. Only validate the connection profile, but don't create any
|
443
|
-
# The default is false.
|
442
|
+
# Optional. Only validate the connection profile, but don't create any
|
443
|
+
# resources. The default is false.
|
444
444
|
# @param force [::Boolean]
|
445
445
|
# Optional. Create the connection profile without validating it.
|
446
446
|
#
|
@@ -557,8 +557,8 @@ module Google
|
|
557
557
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
558
558
|
# not supported (00000000-0000-0000-0000-000000000000).
|
559
559
|
# @param validate_only [::Boolean]
|
560
|
-
# Optional. Only validate the connection profile, but don't update any
|
561
|
-
# The default is false.
|
560
|
+
# Optional. Only validate the connection profile, but don't update any
|
561
|
+
# resources. The default is false.
|
562
562
|
# @param force [::Boolean]
|
563
563
|
# Optional. Update the connection profile without validating it.
|
564
564
|
#
|
@@ -763,8 +763,8 @@ module Google
|
|
763
763
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
764
764
|
#
|
765
765
|
# @param parent [::String]
|
766
|
-
# Required. The parent resource of the connection profile type. Must be in
|
767
|
-
# format `projects/*/locations/*`.
|
766
|
+
# Required. The parent resource of the connection profile type. Must be in
|
767
|
+
# the format `projects/*/locations/*`.
|
768
768
|
# @param connection_profile [::Google::Cloud::Datastream::V1::ConnectionProfile, ::Hash]
|
769
769
|
# An ad-hoc connection profile configuration.
|
770
770
|
# @param connection_profile_name [::String]
|
@@ -1191,8 +1191,8 @@ module Google
|
|
1191
1191
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
1192
1192
|
# not supported (00000000-0000-0000-0000-000000000000).
|
1193
1193
|
# @param validate_only [::Boolean]
|
1194
|
-
# Optional. Only validate the stream with the changes, without actually
|
1195
|
-
# The default is false.
|
1194
|
+
# Optional. Only validate the stream with the changes, without actually
|
1195
|
+
# updating it. The default is false.
|
1196
1196
|
# @param force [::Boolean]
|
1197
1197
|
# Optional. Update the stream without validating it.
|
1198
1198
|
#
|
@@ -1666,7 +1666,8 @@ module Google
|
|
1666
1666
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1667
1667
|
#
|
1668
1668
|
# @param object [::String]
|
1669
|
-
# Required. The name of the stream object resource to start a backfill job
|
1669
|
+
# Required. The name of the stream object resource to start a backfill job
|
1670
|
+
# for.
|
1670
1671
|
#
|
1671
1672
|
# @yield [response, operation] Access the result along with the RPC operation
|
1672
1673
|
# @yieldparam response [::Google::Cloud::Datastream::V1::StartBackfillJobResponse]
|
@@ -1751,7 +1752,8 @@ module Google
|
|
1751
1752
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1752
1753
|
#
|
1753
1754
|
# @param object [::String]
|
1754
|
-
# Required. The name of the stream object resource to stop the backfill job
|
1755
|
+
# Required. The name of the stream object resource to stop the backfill job
|
1756
|
+
# for.
|
1755
1757
|
#
|
1756
1758
|
# @yield [response, operation] Access the result along with the RPC operation
|
1757
1759
|
# @yieldparam response [::Google::Cloud::Datastream::V1::StopBackfillJobResponse]
|
@@ -1837,8 +1839,8 @@ module Google
|
|
1837
1839
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1838
1840
|
#
|
1839
1841
|
# @param name [::String]
|
1840
|
-
# Required. The resource name for the location for which static IPs should be
|
1841
|
-
# Must be in the format `projects/*/locations/*`.
|
1842
|
+
# Required. The resource name for the location for which static IPs should be
|
1843
|
+
# returned. Must be in the format `projects/*/locations/*`.
|
1842
1844
|
# @param page_size [::Integer]
|
1843
1845
|
# Maximum number of Ips to return, will likely not be specified.
|
1844
1846
|
# @param page_token [::String]
|
@@ -1922,7 +1924,7 @@ module Google
|
|
1922
1924
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1923
1925
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1924
1926
|
#
|
1925
|
-
# @overload create_private_connection(parent: nil, private_connection_id: nil, private_connection: nil, request_id: nil)
|
1927
|
+
# @overload create_private_connection(parent: nil, private_connection_id: nil, private_connection: nil, request_id: nil, force: nil)
|
1926
1928
|
# Pass arguments to `create_private_connection` via keyword arguments. Note that at
|
1927
1929
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1928
1930
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1947,6 +1949,8 @@ module Google
|
|
1947
1949
|
#
|
1948
1950
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
1949
1951
|
# not supported (00000000-0000-0000-0000-000000000000).
|
1952
|
+
# @param force [::Boolean]
|
1953
|
+
# Optional. If set to true, will skip validations.
|
1950
1954
|
#
|
1951
1955
|
# @yield [response, operation] Access the result along with the RPC operation
|
1952
1956
|
# @yieldparam response [::Gapic::Operation]
|
@@ -2125,7 +2129,8 @@ module Google
|
|
2125
2129
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2126
2130
|
#
|
2127
2131
|
# @param parent [::String]
|
2128
|
-
# Required. The parent that owns the collection of private connectivity
|
2132
|
+
# Required. The parent that owns the collection of private connectivity
|
2133
|
+
# configurations.
|
2129
2134
|
# @param page_size [::Integer]
|
2130
2135
|
# Maximum number of private connectivity configurations to return.
|
2131
2136
|
# If unspecified, at most 50 private connectivity configurations that will be
|
@@ -2247,8 +2252,8 @@ module Google
|
|
2247
2252
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
2248
2253
|
# not supported (00000000-0000-0000-0000-000000000000).
|
2249
2254
|
# @param force [::Boolean]
|
2250
|
-
# Optional. If set to true, any child routes that belong to this
|
2251
|
-
# also be deleted.
|
2255
|
+
# Optional. If set to true, any child routes that belong to this
|
2256
|
+
# PrivateConnection will also be deleted.
|
2252
2257
|
#
|
2253
2258
|
# @yield [response, operation] Access the result along with the RPC operation
|
2254
2259
|
# @yieldparam response [::Gapic::Operation]
|
@@ -2771,9 +2776,9 @@ module Google
|
|
2771
2776
|
# * (`String`) The path to a service account key file in JSON format
|
2772
2777
|
# * (`Hash`) A service account key as a Hash
|
2773
2778
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
2774
|
-
# (see the [googleauth docs](https://
|
2779
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
2775
2780
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2776
|
-
# (see the [signet docs](https://
|
2781
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2777
2782
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2778
2783
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2779
2784
|
# * (`nil`) indicating no credentials
|
@@ -2815,7 +2820,9 @@ module Google
|
|
2815
2820
|
class Configuration
|
2816
2821
|
extend ::Gapic::Config
|
2817
2822
|
|
2818
|
-
|
2823
|
+
DEFAULT_ENDPOINT = "datastream.googleapis.com"
|
2824
|
+
|
2825
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2819
2826
|
config_attr :credentials, nil do |value|
|
2820
2827
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2821
2828
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|
@@ -664,7 +664,9 @@ module Google
|
|
664
664
|
class Configuration
|
665
665
|
extend ::Gapic::Config
|
666
666
|
|
667
|
-
|
667
|
+
DEFAULT_ENDPOINT = "datastream.googleapis.com"
|
668
|
+
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
668
670
|
config_attr :credentials, nil do |value|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -146,7 +146,7 @@ module Google
|
|
146
146
|
credentials = @config.credentials
|
147
147
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
148
148
|
# but only if the default endpoint does not have a region prefix.
|
149
|
-
enable_self_signed_jwt = @config.endpoint ==
|
149
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
150
150
|
!@config.endpoint.split(".").first.include?("-")
|
151
151
|
credentials ||= Credentials.default scope: @config.scope,
|
152
152
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -380,8 +380,8 @@ module Google
|
|
380
380
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
381
381
|
# not supported (00000000-0000-0000-0000-000000000000).
|
382
382
|
# @param validate_only [::Boolean]
|
383
|
-
# Optional. Only validate the connection profile, but don't create any
|
384
|
-
# The default is false.
|
383
|
+
# Optional. Only validate the connection profile, but don't create any
|
384
|
+
# resources. The default is false.
|
385
385
|
# @param force [::Boolean]
|
386
386
|
# Optional. Create the connection profile without validating it.
|
387
387
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -468,8 +468,8 @@ module Google
|
|
468
468
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
469
469
|
# not supported (00000000-0000-0000-0000-000000000000).
|
470
470
|
# @param validate_only [::Boolean]
|
471
|
-
# Optional. Only validate the connection profile, but don't update any
|
472
|
-
# The default is false.
|
471
|
+
# Optional. Only validate the connection profile, but don't update any
|
472
|
+
# resources. The default is false.
|
473
473
|
# @param force [::Boolean]
|
474
474
|
# Optional. Update the connection profile without validating it.
|
475
475
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -614,8 +614,8 @@ module Google
|
|
614
614
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
615
615
|
#
|
616
616
|
# @param parent [::String]
|
617
|
-
# Required. The parent resource of the connection profile type. Must be in
|
618
|
-
# format `projects/*/locations/*`.
|
617
|
+
# Required. The parent resource of the connection profile type. Must be in
|
618
|
+
# the format `projects/*/locations/*`.
|
619
619
|
# @param connection_profile [::Google::Cloud::Datastream::V1::ConnectionProfile, ::Hash]
|
620
620
|
# An ad-hoc connection profile configuration.
|
621
621
|
# @param connection_profile_name [::String]
|
@@ -938,8 +938,8 @@ module Google
|
|
938
938
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
939
939
|
# not supported (00000000-0000-0000-0000-000000000000).
|
940
940
|
# @param validate_only [::Boolean]
|
941
|
-
# Optional. Only validate the stream with the changes, without actually
|
942
|
-
# The default is false.
|
941
|
+
# Optional. Only validate the stream with the changes, without actually
|
942
|
+
# updating it. The default is false.
|
943
943
|
# @param force [::Boolean]
|
944
944
|
# Optional. Update the stream without validating it.
|
945
945
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -1280,7 +1280,8 @@ module Google
|
|
1280
1280
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1281
1281
|
#
|
1282
1282
|
# @param object [::String]
|
1283
|
-
# Required. The name of the stream object resource to start a backfill job
|
1283
|
+
# Required. The name of the stream object resource to start a backfill job
|
1284
|
+
# for.
|
1284
1285
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1285
1286
|
# @yieldparam result [::Google::Cloud::Datastream::V1::StartBackfillJobResponse]
|
1286
1287
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1342,7 +1343,8 @@ module Google
|
|
1342
1343
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1343
1344
|
#
|
1344
1345
|
# @param object [::String]
|
1345
|
-
# Required. The name of the stream object resource to stop the backfill job
|
1346
|
+
# Required. The name of the stream object resource to stop the backfill job
|
1347
|
+
# for.
|
1346
1348
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1347
1349
|
# @yieldparam result [::Google::Cloud::Datastream::V1::StopBackfillJobResponse]
|
1348
1350
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1405,8 +1407,8 @@ module Google
|
|
1405
1407
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1406
1408
|
#
|
1407
1409
|
# @param name [::String]
|
1408
|
-
# Required. The resource name for the location for which static IPs should be
|
1409
|
-
# Must be in the format `projects/*/locations/*`.
|
1410
|
+
# Required. The resource name for the location for which static IPs should be
|
1411
|
+
# returned. Must be in the format `projects/*/locations/*`.
|
1410
1412
|
# @param page_size [::Integer]
|
1411
1413
|
# Maximum number of Ips to return, will likely not be specified.
|
1412
1414
|
# @param page_token [::String]
|
@@ -1468,7 +1470,7 @@ module Google
|
|
1468
1470
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1469
1471
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1470
1472
|
#
|
1471
|
-
# @overload create_private_connection(parent: nil, private_connection_id: nil, private_connection: nil, request_id: nil)
|
1473
|
+
# @overload create_private_connection(parent: nil, private_connection_id: nil, private_connection: nil, request_id: nil, force: nil)
|
1472
1474
|
# Pass arguments to `create_private_connection` via keyword arguments. Note that at
|
1473
1475
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1474
1476
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1493,6 +1495,8 @@ module Google
|
|
1493
1495
|
#
|
1494
1496
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
1495
1497
|
# not supported (00000000-0000-0000-0000-000000000000).
|
1498
|
+
# @param force [::Boolean]
|
1499
|
+
# Optional. If set to true, will skip validations.
|
1496
1500
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1497
1501
|
# @yieldparam result [::Gapic::Operation]
|
1498
1502
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1618,7 +1622,8 @@ module Google
|
|
1618
1622
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1619
1623
|
#
|
1620
1624
|
# @param parent [::String]
|
1621
|
-
# Required. The parent that owns the collection of private connectivity
|
1625
|
+
# Required. The parent that owns the collection of private connectivity
|
1626
|
+
# configurations.
|
1622
1627
|
# @param page_size [::Integer]
|
1623
1628
|
# Maximum number of private connectivity configurations to return.
|
1624
1629
|
# If unspecified, at most 50 private connectivity configurations that will be
|
@@ -1712,8 +1717,8 @@ module Google
|
|
1712
1717
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
1713
1718
|
# not supported (00000000-0000-0000-0000-000000000000).
|
1714
1719
|
# @param force [::Boolean]
|
1715
|
-
# Optional. If set to true, any child routes that belong to this
|
1716
|
-
# also be deleted.
|
1720
|
+
# Optional. If set to true, any child routes that belong to this
|
1721
|
+
# PrivateConnection will also be deleted.
|
1717
1722
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1718
1723
|
# @yieldparam result [::Gapic::Operation]
|
1719
1724
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -2095,9 +2100,9 @@ module Google
|
|
2095
2100
|
# * (`String`) The path to a service account key file in JSON format
|
2096
2101
|
# * (`Hash`) A service account key as a Hash
|
2097
2102
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
2098
|
-
# (see the [googleauth docs](https://
|
2103
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
2099
2104
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2100
|
-
# (see the [signet docs](https://
|
2105
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2101
2106
|
# * (`nil`) indicating no credentials
|
2102
2107
|
# @return [::Object]
|
2103
2108
|
# @!attribute [rw] scope
|
@@ -2130,7 +2135,9 @@ module Google
|
|
2130
2135
|
class Configuration
|
2131
2136
|
extend ::Gapic::Config
|
2132
2137
|
|
2133
|
-
|
2138
|
+
DEFAULT_ENDPOINT = "datastream.googleapis.com"
|
2139
|
+
|
2140
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2134
2141
|
config_attr :credentials, nil do |value|
|
2135
2142
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2136
2143
|
allowed.any? { |klass| klass === value }
|
@@ -411,9 +411,9 @@ module Google
|
|
411
411
|
# * (`String`) The path to a service account key file in JSON format
|
412
412
|
# * (`Hash`) A service account key as a Hash
|
413
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
414
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
416
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
417
|
# * (`nil`) indicating no credentials
|
418
418
|
# @return [::Object]
|
419
419
|
# @!attribute [rw] scope
|
@@ -446,7 +446,9 @@ module Google
|
|
446
446
|
class Configuration
|
447
447
|
extend ::Gapic::Config
|
448
448
|
|
449
|
-
|
449
|
+
DEFAULT_ENDPOINT = "datastream.googleapis.com"
|
450
|
+
|
451
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
450
452
|
config_attr :credentials, nil do |value|
|
451
453
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
452
454
|
allowed.any? { |klass| klass === value }
|
@@ -567,7 +569,7 @@ module Google
|
|
567
569
|
|
568
570
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
569
571
|
query_string_params = if query_string_params.any?
|
570
|
-
query_string_params.to_h { |p| p.split
|
572
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
571
573
|
else
|
572
574
|
{}
|
573
575
|
end
|
@@ -605,7 +607,7 @@ module Google
|
|
605
607
|
|
606
608
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
607
609
|
query_string_params = if query_string_params.any?
|
608
|
-
query_string_params.to_h { |p| p.split
|
610
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
609
611
|
else
|
610
612
|
{}
|
611
613
|
end
|
@@ -643,7 +645,7 @@ module Google
|
|
643
645
|
|
644
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
645
647
|
query_string_params = if query_string_params.any?
|
646
|
-
query_string_params.to_h { |p| p.split
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
647
649
|
else
|
648
650
|
{}
|
649
651
|
end
|
@@ -681,7 +683,7 @@ module Google
|
|
681
683
|
|
682
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
683
685
|
query_string_params = if query_string_params.any?
|
684
|
-
query_string_params.to_h { |p| p.split
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
685
687
|
else
|
686
688
|
{}
|
687
689
|
end
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_connection_profiles_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_connection_profile_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_connection_profile_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
139
139
|
else
|
140
140
|
{}
|
141
141
|
end
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_connection_profile_request request_pb
|
175
175
|
query_string_params = if query_string_params.any?
|
176
|
-
query_string_params.to_h { |p| p.split
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
177
177
|
else
|
178
178
|
{}
|
179
179
|
end
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_connection_profile_request request_pb
|
213
213
|
query_string_params = if query_string_params.any?
|
214
|
-
query_string_params.to_h { |p| p.split
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
215
215
|
else
|
216
216
|
{}
|
217
217
|
end
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
|
250
250
|
verb, uri, query_string_params, body = ServiceStub.transcode_discover_connection_profile_request request_pb
|
251
251
|
query_string_params = if query_string_params.any?
|
252
|
-
query_string_params.to_h { |p| p.split
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
253
253
|
else
|
254
254
|
{}
|
255
255
|
end
|
@@ -287,7 +287,7 @@ module Google
|
|
287
287
|
|
288
288
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_streams_request request_pb
|
289
289
|
query_string_params = if query_string_params.any?
|
290
|
-
query_string_params.to_h { |p| p.split
|
290
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
291
291
|
else
|
292
292
|
{}
|
293
293
|
end
|
@@ -325,7 +325,7 @@ module Google
|
|
325
325
|
|
326
326
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_stream_request request_pb
|
327
327
|
query_string_params = if query_string_params.any?
|
328
|
-
query_string_params.to_h { |p| p.split
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
329
329
|
else
|
330
330
|
{}
|
331
331
|
end
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
|
364
364
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_stream_request request_pb
|
365
365
|
query_string_params = if query_string_params.any?
|
366
|
-
query_string_params.to_h { |p| p.split
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
367
367
|
else
|
368
368
|
{}
|
369
369
|
end
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
|
402
402
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_stream_request request_pb
|
403
403
|
query_string_params = if query_string_params.any?
|
404
|
-
query_string_params.to_h { |p| p.split
|
404
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
405
405
|
else
|
406
406
|
{}
|
407
407
|
end
|
@@ -439,7 +439,7 @@ module Google
|
|
439
439
|
|
440
440
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_stream_request request_pb
|
441
441
|
query_string_params = if query_string_params.any?
|
442
|
-
query_string_params.to_h { |p| p.split
|
442
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
443
443
|
else
|
444
444
|
{}
|
445
445
|
end
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
|
478
478
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_stream_object_request request_pb
|
479
479
|
query_string_params = if query_string_params.any?
|
480
|
-
query_string_params.to_h { |p| p.split
|
480
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
481
481
|
else
|
482
482
|
{}
|
483
483
|
end
|
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
|
516
516
|
verb, uri, query_string_params, body = ServiceStub.transcode_lookup_stream_object_request request_pb
|
517
517
|
query_string_params = if query_string_params.any?
|
518
|
-
query_string_params.to_h { |p| p.split
|
518
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
519
519
|
else
|
520
520
|
{}
|
521
521
|
end
|
@@ -553,7 +553,7 @@ module Google
|
|
553
553
|
|
554
554
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_stream_objects_request request_pb
|
555
555
|
query_string_params = if query_string_params.any?
|
556
|
-
query_string_params.to_h { |p| p.split
|
556
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
557
557
|
else
|
558
558
|
{}
|
559
559
|
end
|
@@ -591,7 +591,7 @@ module Google
|
|
591
591
|
|
592
592
|
verb, uri, query_string_params, body = ServiceStub.transcode_start_backfill_job_request request_pb
|
593
593
|
query_string_params = if query_string_params.any?
|
594
|
-
query_string_params.to_h { |p| p.split
|
594
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
595
595
|
else
|
596
596
|
{}
|
597
597
|
end
|
@@ -629,7 +629,7 @@ module Google
|
|
629
629
|
|
630
630
|
verb, uri, query_string_params, body = ServiceStub.transcode_stop_backfill_job_request request_pb
|
631
631
|
query_string_params = if query_string_params.any?
|
632
|
-
query_string_params.to_h { |p| p.split
|
632
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
633
633
|
else
|
634
634
|
{}
|
635
635
|
end
|
@@ -667,7 +667,7 @@ module Google
|
|
667
667
|
|
668
668
|
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_static_ips_request request_pb
|
669
669
|
query_string_params = if query_string_params.any?
|
670
|
-
query_string_params.to_h { |p| p.split
|
670
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
671
671
|
else
|
672
672
|
{}
|
673
673
|
end
|
@@ -705,7 +705,7 @@ module Google
|
|
705
705
|
|
706
706
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_private_connection_request request_pb
|
707
707
|
query_string_params = if query_string_params.any?
|
708
|
-
query_string_params.to_h { |p| p.split
|
708
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
709
709
|
else
|
710
710
|
{}
|
711
711
|
end
|
@@ -743,7 +743,7 @@ module Google
|
|
743
743
|
|
744
744
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_private_connection_request request_pb
|
745
745
|
query_string_params = if query_string_params.any?
|
746
|
-
query_string_params.to_h { |p| p.split
|
746
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
747
747
|
else
|
748
748
|
{}
|
749
749
|
end
|
@@ -781,7 +781,7 @@ module Google
|
|
781
781
|
|
782
782
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_private_connections_request request_pb
|
783
783
|
query_string_params = if query_string_params.any?
|
784
|
-
query_string_params.to_h { |p| p.split
|
784
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
785
785
|
else
|
786
786
|
{}
|
787
787
|
end
|
@@ -819,7 +819,7 @@ module Google
|
|
819
819
|
|
820
820
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_private_connection_request request_pb
|
821
821
|
query_string_params = if query_string_params.any?
|
822
|
-
query_string_params.to_h { |p| p.split
|
822
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
823
823
|
else
|
824
824
|
{}
|
825
825
|
end
|
@@ -857,7 +857,7 @@ module Google
|
|
857
857
|
|
858
858
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_route_request request_pb
|
859
859
|
query_string_params = if query_string_params.any?
|
860
|
-
query_string_params.to_h { |p| p.split
|
860
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
861
861
|
else
|
862
862
|
{}
|
863
863
|
end
|
@@ -895,7 +895,7 @@ module Google
|
|
895
895
|
|
896
896
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_route_request request_pb
|
897
897
|
query_string_params = if query_string_params.any?
|
898
|
-
query_string_params.to_h { |p| p.split
|
898
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
899
899
|
else
|
900
900
|
{}
|
901
901
|
end
|
@@ -933,7 +933,7 @@ module Google
|
|
933
933
|
|
934
934
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_routes_request request_pb
|
935
935
|
query_string_params = if query_string_params.any?
|
936
|
-
query_string_params.to_h { |p| p.split
|
936
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
937
937
|
else
|
938
938
|
{}
|
939
939
|
end
|
@@ -971,7 +971,7 @@ module Google
|
|
971
971
|
|
972
972
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_route_request request_pb
|
973
973
|
query_string_params = if query_string_params.any?
|
974
|
-
query_string_params.to_h { |p| p.split
|
974
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
975
975
|
else
|
976
976
|
{}
|
977
977
|
end
|