google-cloud-service_usage-v1 0.3.0 → 0.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd96d11524ade11f3aae7bd5993ce2f4592636f424ed48879c1a48ae16f45d1
|
4
|
+
data.tar.gz: c1559387b8a8ef2cdff1874db6f784c1b6b19ec29a56fc7fdb4ad4fb22b4be06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 684419c2404f1fefbf45d1093a95f87766a4b3d742fe177a3e478077714089ad856fc619117117b14a697005d2c267741881c1f2d0bdf92c2e4f686cc28ef9fc
|
7
|
+
data.tar.gz: 57f8143f1014b2290b05f2ff3819373f5229bcdbff0bb15d3e3fa9d5163dd17aaaf1fbc6e5e8af9d163152f78b0e18a89bcef4d51746eb5628795452cd3d722e
|
@@ -127,7 +127,7 @@ module Google
|
|
127
127
|
credentials = @config.credentials
|
128
128
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
129
129
|
# but only if the default endpoint does not have a region prefix.
|
130
|
-
enable_self_signed_jwt = @config.endpoint ==
|
130
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
131
131
|
!@config.endpoint.split(".").first.include?("-")
|
132
132
|
credentials ||= Credentials.default scope: @config.scope,
|
133
133
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -872,7 +872,9 @@ module Google
|
|
872
872
|
class Configuration
|
873
873
|
extend ::Gapic::Config
|
874
874
|
|
875
|
-
|
875
|
+
DEFAULT_ENDPOINT = "serviceusage.googleapis.com"
|
876
|
+
|
877
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
876
878
|
config_attr :credentials, nil do |value|
|
877
879
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
878
880
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -656,7 +656,9 @@ module Google
|
|
656
656
|
class Configuration
|
657
657
|
extend ::Gapic::Config
|
658
658
|
|
659
|
-
|
659
|
+
DEFAULT_ENDPOINT = "serviceusage.googleapis.com"
|
660
|
+
|
661
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
660
662
|
config_attr :credentials, nil do |value|
|
661
663
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
662
664
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_usage-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.19.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.19.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|