Class: Google::Apis::WorkloadmanagerV1::LocationData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationData

Returns a new instance of LocationData.



874
875
876
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 874

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

Instance Attribute Details

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



852
853
854
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 852

def blobstore_location
  @blobstore_location
end

#child_asset_locationGoogle::Apis::WorkloadmanagerV1::CloudAssetComposition

Corresponds to the JSON property childAssetLocation



857
858
859
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 857

def child_asset_location
  @child_asset_location
end

#direct_locationGoogle::Apis::WorkloadmanagerV1::DirectLocationAssignment

Corresponds to the JSON property directLocation



862
863
864
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 862

def direct_location
  @direct_location
end

#gcp_project_proxyGoogle::Apis::WorkloadmanagerV1::TenantProjectProxy

Corresponds to the JSON property gcpProjectProxy



867
868
869
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 867

def gcp_project_proxy
  @gcp_project_proxy
end

#spanner_locationGoogle::Apis::WorkloadmanagerV1::SpannerLocation

Corresponds to the JSON property spannerLocation



872
873
874
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 872

def spanner_location
  @spanner_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



879
880
881
882
883
884
885
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 879

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)
  @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
end