Module: Gapic::UniverseDomainConcerns
- Included in:
- Rest::ClientStub, ServiceStub
- Defined in:
- lib/gapic/universe_domain_concerns.rb
Overview
A mixin module that provides methods for obtaining the effective universe domain, endpoint, and credentials for a stub. This is included in Grpc::ServiceStub and Rest::ClientStub.
Constant Summary collapse
- ENDPOINT_SUBSTITUTION =
A substitution string for the universe domain in an endpoint template
"$UNIVERSE_DOMAIN$".freeze
Instance Attribute Summary collapse
-
#credentials ⇒ Google::Auth::Credentials, ...
readonly
The effective credentials.
-
#endpoint ⇒ String
readonly
The effective endpoint.
-
#universe_domain ⇒ String
readonly
The effective universe domain.
Instance Attribute Details
#credentials ⇒ Google::Auth::Credentials, ... (readonly)
The effective credentials
48 49 50 |
# File 'lib/gapic/universe_domain_concerns.rb', line 48 def credentials @credentials end |
#endpoint ⇒ String (readonly)
The effective endpoint
34 35 36 |
# File 'lib/gapic/universe_domain_concerns.rb', line 34 def endpoint @endpoint end |
#universe_domain ⇒ String (readonly)
The effective universe domain
40 41 42 |
# File 'lib/gapic/universe_domain_concerns.rb', line 40 def universe_domain @universe_domain end |