Class: Google::Apis::MemcacheV1::BlobstoreLocation
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1::BlobstoreLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/memcache_v1/classes.rb,
lib/google/apis/memcache_v1/representations.rb,
lib/google/apis/memcache_v1/representations.rb
Overview
Policy ID that identified data placement in Blobstore as per go/blobstore-user- guide#data-metadata-placement-and-failure-domains
Instance Attribute Summary collapse
-
#policy_id ⇒ Array<String>
Corresponds to the JSON property
policyId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BlobstoreLocation
constructor
A new instance of BlobstoreLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BlobstoreLocation
Returns a new instance of BlobstoreLocation.
110 111 112 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_id ⇒ Array<String>
Corresponds to the JSON property policyId
108 109 110 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 108 def policy_id @policy_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
115 116 117 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 115 def update!(**args) @policy_id = args[:policy_id] if args.key?(:policy_id) end |