Class: Google::Compute::Data::BackServCachKeyPoliCatalog

Inherits:
BackServCachKeyPoli show all
Defined in:
lib/google/compute/property/backendservice_cache_key_policy.rb

Overview

Manages a BackServCachKeyPoli nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from BackServCachKeyPoli

#include_host, #include_protocol, #include_query_string, #query_string_blacklist, #query_string_whitelist

Instance Method Summary collapse

Methods inherited from BackServCachKeyPoli

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ BackServCachKeyPoliCatalog

rubocop:disable Metrics/MethodLength



130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/compute/property/backendservice_cache_key_policy.rb', line 130

def initialize(args)
  @include_host = Google::Compute::Property::Boolean.unsafe_munge(
    args['include_host']
  )
  @include_protocol = Google::Compute::Property::Boolean.unsafe_munge(
    args['include_protocol']
  )
  @include_query_string =
    Google::Compute::Property::Boolean.unsafe_munge(
      args['include_query_string']
    )
  @query_string_blacklist =
    Google::Compute::Property::StringArray.unsafe_munge(
      args['query_string_blacklist']
    )
  @query_string_whitelist =
    Google::Compute::Property::StringArray.unsafe_munge(
      args['query_string_whitelist']
    )
end