Class: Google::Apis::ApphubV1alpha::LocationData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationData

Returns a new instance of LocationData.



1223
1224
1225
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1223

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

Instance Attribute Details

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



1195
1196
1197
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1195

def blobstore_location
  @blobstore_location
end

#child_asset_locationGoogle::Apis::ApphubV1alpha::CloudAssetComposition

Corresponds to the JSON property childAssetLocation



1200
1201
1202
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1200

def child_asset_location
  @child_asset_location
end

#direct_locationGoogle::Apis::ApphubV1alpha::DirectLocationAssignment

Corresponds to the JSON property directLocation



1205
1206
1207
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1205

def direct_location
  @direct_location
end

#gcp_project_proxyGoogle::Apis::ApphubV1alpha::TenantProjectProxy

Corresponds to the JSON property gcpProjectProxy



1210
1211
1212
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1210

def gcp_project_proxy
  @gcp_project_proxy
end

#placer_locationGoogle::Apis::ApphubV1alpha::PlacerLocation

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



1216
1217
1218
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1216

def placer_location
  @placer_location
end

#spanner_locationGoogle::Apis::ApphubV1alpha::SpannerLocation

Corresponds to the JSON property spannerLocation



1221
1222
1223
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1221

def spanner_location
  @spanner_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1228
1229
1230
1231
1232
1233
1234
1235
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1228

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