Class: Google::Apis::DeveloperconnectV1::BearerTokenAuthentication

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_versionString

Optional. The token SecretManager secret version to authenticate as. Corresponds to the JSON property tokenSecretVersion

Returns:

  • (String)


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