Class: Google::Cloud::DeveloperConnect::V1::OAuthCredential

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/developerconnect/v1/developer_connect.rb

Overview

Represents an OAuth token of the account that authorized the Connection, and associated metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#oauth_token_secret_version::String

Returns Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: projects/*/secrets/*/versions/*.

Returns:

  • (::String)

    Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: projects/*/secrets/*/versions/*.



173
174
175
176
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 173

class OAuthCredential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#username::String (readonly)

Returns Output only. The username associated with this token.

Returns:

  • (::String)

    Output only. The username associated with this token.



173
174
175
176
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 173

class OAuthCredential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end