Class: Google::Apis::CloudtasksV2beta3::HeaderOverride
- Inherits:
-
Object
- Object
- Google::Apis::CloudtasksV2beta3::HeaderOverride
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudtasks_v2beta3/classes.rb,
lib/google/apis/cloudtasks_v2beta3/representations.rb,
lib/google/apis/cloudtasks_v2beta3/representations.rb
Overview
Wraps the Header object.
Instance Attribute Summary collapse
-
#header ⇒ Google::Apis::CloudtasksV2beta3::Header
Defines a header message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HeaderOverride
constructor
A new instance of HeaderOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HeaderOverride
Returns a new instance of HeaderOverride.
654 655 656 |
# File 'lib/google/apis/cloudtasks_v2beta3/classes.rb', line 654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::CloudtasksV2beta3::Header
Defines a header message. A header can have a key and a value.
Corresponds to the JSON property header
652 653 654 |
# File 'lib/google/apis/cloudtasks_v2beta3/classes.rb', line 652 def header @header end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
659 660 661 |
# File 'lib/google/apis/cloudtasks_v2beta3/classes.rb', line 659 def update!(**args) @header = args[:header] if args.key?(:header) end |