class Google::Apis::ComputeV1::CacheInvalidationRule

Attributes

host[RW]

If set, this invalidation rule will only apply to requests with a Host header matching host. Corresponds to the JSON property `host` @return [String]

path[RW]

Corresponds to the JSON property `path` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 4683
def update!(**args)
  @host = args[:host] if args.key?(:host)
  @path = args[:path] if args.key?(:path)
end