Class: Google::Apis::DeveloperconnectV1::BearerTokenAuthentication
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::BearerTokenAuthentication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
Bearer token authentication with a token.
Instance Attribute Summary collapse
-
#token_secret_version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BearerTokenAuthentication
constructor
A new instance of BearerTokenAuthentication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BearerTokenAuthentication
Returns a new instance of BearerTokenAuthentication.
304 305 306 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 304 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token_secret_version ⇒ String
Optional. The token SecretManager secret version to authenticate as.
Corresponds to the JSON property tokenSecretVersion
302 303 304 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 302 def token_secret_version @token_secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
309 310 311 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 309 def update!(**args) @token_secret_version = args[:token_secret_version] if args.key?(:token_secret_version) end |