Class: Google::Apis::StorageV1::RapidCacheConfig
- Inherits:
-
Object
- Object
- Google::Apis::StorageV1::RapidCacheConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storage_v1/classes.rb,
lib/google/apis/storage_v1/representations.rb,
lib/google/apis/storage_v1/representations.rb
Overview
Configuration options for the rapid cache of a managed folder.
Instance Attribute Summary collapse
-
#policies ⇒ Hash<String,Google::Apis::StorageV1::RapidCachePolicy>
A map of rapid cache IDs to the corresponding
RapidCachePolicyconfigurations for a managed folder.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RapidCacheConfig
constructor
A new instance of RapidCacheConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RapidCacheConfig
Returns a new instance of RapidCacheConfig.
3321 3322 3323 |
# File 'lib/google/apis/storage_v1/classes.rb', line 3321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policies ⇒ Hash<String,Google::Apis::StorageV1::RapidCachePolicy>
A map of rapid cache IDs to the corresponding RapidCachePolicy
configurations for a managed folder.
Corresponds to the JSON property policies
3319 3320 3321 |
# File 'lib/google/apis/storage_v1/classes.rb', line 3319 def policies @policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3326 3327 3328 |
# File 'lib/google/apis/storage_v1/classes.rb', line 3326 def update!(**args) @policies = args[:policies] if args.key?(:policies) end |