class Google::Apis::ContainerV1beta1::HttpCacheControlResponseHeader

RFC-2616: cache control support

Attributes

age[RW]

14.6 response cache age, in seconds since the response is generated Corresponds to the JSON property `age` @return [Fixnum]

directive[RW]

14.9 request and response directives Corresponds to the JSON property `directive` @return [String]

expires[RW]

14.21 response cache expires, in RFC 1123 date format Corresponds to the JSON property `expires` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 1951
def update!(**args)
  @age = args[:age] if args.key?(:age)
  @directive = args[:directive] if args.key?(:directive)
  @expires = args[:expires] if args.key?(:expires)
end