Class: Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

Determines which HTTP headers will be logged to Stackdriver.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServiceLogConfigLoggingHttpHeader

Returns a new instance of BackendServiceLogConfigLoggingHttpHeader.



6157
6158
6159
# File 'lib/google/apis/compute_v1/classes.rb', line 6157

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#header_nameString

The name of the header to be logged. Corresponds to the JSON property headerName

Returns:

  • (String)


6155
6156
6157
# File 'lib/google/apis/compute_v1/classes.rb', line 6155

def header_name
  @header_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6162
6163
6164
# File 'lib/google/apis/compute_v1/classes.rb', line 6162

def update!(**args)
  @header_name = args[:header_name] if args.key?(:header_name)
end