Class: Google::Apis::MemcacheV1::LocationData

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationData

Returns a new instance of LocationData.



1377
1378
1379
# File 'lib/google/apis/memcache_v1/classes.rb', line 1377

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#blobstore_locationGoogle::Apis::MemcacheV1::BlobstoreLocation

Policy ID that identified data placement in Blobstore as per go/blobstore-user- guide#data-metadata-placement-and-failure-domains Corresponds to the JSON property blobstoreLocation



1349
1350
1351
# File 'lib/google/apis/memcache_v1/classes.rb', line 1349

def blobstore_location
  @blobstore_location
end

#child_asset_locationGoogle::Apis::MemcacheV1::CloudAssetComposition

Corresponds to the JSON property childAssetLocation



1354
1355
1356
# File 'lib/google/apis/memcache_v1/classes.rb', line 1354

def child_asset_location
  @child_asset_location
end

#direct_locationGoogle::Apis::MemcacheV1::DirectLocationAssignment

Corresponds to the JSON property directLocation



1359
1360
1361
# File 'lib/google/apis/memcache_v1/classes.rb', line 1359

def direct_location
  @direct_location
end

#gcp_project_proxyGoogle::Apis::MemcacheV1::TenantProjectProxy

Corresponds to the JSON property gcpProjectProxy



1364
1365
1366
# File 'lib/google/apis/memcache_v1/classes.rb', line 1364

def gcp_project_proxy
  @gcp_project_proxy
end

#placer_locationGoogle::Apis::MemcacheV1::PlacerLocation

Message describing that the location of the customer resource is tied to placer allocations Corresponds to the JSON property placerLocation



1370
1371
1372
# File 'lib/google/apis/memcache_v1/classes.rb', line 1370

def placer_location
  @placer_location
end

#spanner_locationGoogle::Apis::MemcacheV1::SpannerLocation

Corresponds to the JSON property spannerLocation



1375
1376
1377
# File 'lib/google/apis/memcache_v1/classes.rb', line 1375

def spanner_location
  @spanner_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1382
1383
1384
1385
1386
1387
1388
1389
# File 'lib/google/apis/memcache_v1/classes.rb', line 1382

def update!(**args)
  @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
  @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
  @direct_location = args[:direct_location] if args.key?(:direct_location)
  @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
  @placer_location = args[:placer_location] if args.key?(:placer_location)
  @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
end