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: ee03208354280563d5cf17faa176f4bc1adf95055f241459272b31c1948d0cbe
4
- data.tar.gz: 4e2be6e41bcb4d161e0954871301b6532406b362a6c639e68081d3b4e9b426de
3
+ metadata.gz: 1fd96d11524ade11f3aae7bd5993ce2f4592636f424ed48879c1a48ae16f45d1
4
+ data.tar.gz: c1559387b8a8ef2cdff1874db6f784c1b6b19ec29a56fc7fdb4ad4fb22b4be06
5
5
  SHA512:
6
- metadata.gz: db6c7105a732278866d789272ffd83d07b3fb53630836d7fdbe9ef2721d03ff815213be03439f03bf343a6fc50c0b30421dd0b7da64b77a8be28e1319c3ed3ca
7
- data.tar.gz: 0fa7db2840685dbe0f76ea8587e8f50fff5611ff0af5c55fccc97751354306a0a05beb2832d54064965645d22d3405f67f2a96f16f47f075b5c144166d917ad9
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 == Client.configure.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
- config_attr :endpoint, "serviceusage.googleapis.com", ::String
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
- config_attr :endpoint, "serviceusage.googleapis.com", ::String
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceUsage
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.3.1"
25
25
  end
26
26
  end
27
27
  end
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.0
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-05-31 00:00:00.000000000 Z
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.0
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.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a