Class: Google::Apis::ComputeAlpha::JwtHeader
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::JwtHeader
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
[Deprecated] This message specifies a header location to extract JWT token. This message specifies a header location to extract JWT token.
Instance Attribute Summary collapse
-
#name ⇒ String
The HTTP header name.
-
#value_prefix ⇒ String
The value prefix.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JwtHeader
constructor
A new instance of JwtHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JwtHeader
Returns a new instance of JwtHeader.
19211 19212 19213 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The HTTP header name.
Corresponds to the JSON property name
19203 19204 19205 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19203 def name @name end |
#value_prefix ⇒ String
The value prefix. The value format is "value_prefix" For example, for "
Authorization: Bearer ", value_prefix="Bearer " with a space at the end.
Corresponds to the JSON property valuePrefix
19209 19210 19211 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19209 def value_prefix @value_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19216 19217 19218 19219 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19216 def update!(**args) @name = args[:name] if args.key?(:name) @value_prefix = args[:value_prefix] if args.key?(:value_prefix) end |