Class: Google::Apis::ComputeAlpha::BackendServiceLogConfigLoggingHttpHeader
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServiceLogConfigLoggingHttpHeader
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Determines which HTTP headers will be logged to Stackdriver.
Instance Attribute Summary collapse
-
#header_name ⇒ String
The name of the header to be logged.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceLogConfigLoggingHttpHeader
constructor
A new instance of BackendServiceLogConfigLoggingHttpHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServiceLogConfigLoggingHttpHeader
Returns a new instance of BackendServiceLogConfigLoggingHttpHeader.
6631 6632 6633 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6631 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header_name ⇒ String
The name of the header to be logged.
Corresponds to the JSON property headerName
6629 6630 6631 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6629 def header_name @header_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6636 6637 6638 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6636 def update!(**args) @header_name = args[:header_name] if args.key?(:header_name) end |