class Google::Apis::RunV1::HttpHeader

Not supported by Cloud Run HTTPHeader describes a custom header to be used in HTTP probes

Attributes

name[RW]

The header field name Corresponds to the JSON property `name` @return [String]

value[RW]

The header field value Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 1063
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v1/classes.rb, line 1068
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end