Class: Google::Apis::BackupdrV1::LocationData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationData

Returns a new instance of LocationData.



2993
2994
2995
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2993

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

Instance Attribute Details

#blobstore_locationGoogle::Apis::BackupdrV1::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



2965
2966
2967
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2965

def blobstore_location
  @blobstore_location
end

#child_asset_locationGoogle::Apis::BackupdrV1::CloudAssetComposition

Corresponds to the JSON property childAssetLocation



2970
2971
2972
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2970

def child_asset_location
  @child_asset_location
end

#direct_locationGoogle::Apis::BackupdrV1::DirectLocationAssignment

Corresponds to the JSON property directLocation



2975
2976
2977
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2975

def direct_location
  @direct_location
end

#gcp_project_proxyGoogle::Apis::BackupdrV1::TenantProjectProxy

Corresponds to the JSON property gcpProjectProxy



2980
2981
2982
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2980

def gcp_project_proxy
  @gcp_project_proxy
end

#placer_locationGoogle::Apis::BackupdrV1::PlacerLocation

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



2986
2987
2988
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2986

def placer_location
  @placer_location
end

#spanner_locationGoogle::Apis::BackupdrV1::SpannerLocation

Corresponds to the JSON property spannerLocation



2991
2992
2993
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2991

def spanner_location
  @spanner_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2998
2999
3000
3001
3002
3003
3004
3005
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2998

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