Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthToken
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthToken
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
The credentials to authenticate a user agent with a server that is put in HTTP Authorization request header.
Instance Attribute Summary collapse
-
#token ⇒ String
The token for the auth type.
-
#type ⇒ String
Authentication type, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAuthToken
constructor
A new instance of GoogleCloudIntegrationsV1alphaAuthToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAuthToken
Returns a new instance of GoogleCloudIntegrationsV1alphaAuthToken.
5690 5691 5692 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
The token for the auth type.
Corresponds to the JSON property token
5683 5684 5685 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5683 def token @token end |
#type ⇒ String
Authentication type, e.g. "Basic", "Bearer", etc.
Corresponds to the JSON property type
5688 5689 5690 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5688 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5695 5696 5697 5698 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5695 def update!(**args) @token = args[:token] if args.key?(:token) @type = args[:type] if args.key?(:type) end |