Class: Google::Apis::DatafusionV1beta1::AssetLocation

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

Overview

Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetLocation

Returns a new instance of AssetLocation.



77
78
79
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 77

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

Instance Attribute Details

#expectedGoogle::Apis::DatafusionV1beta1::IsolationExpectations

Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. Corresponds to the JSON property expected



59
60
61
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 59

def expected
  @expected
end

#extra_parametersArray<Google::Apis::DatafusionV1beta1::ExtraParameter>

Defines extra parameters required for specific asset types. Corresponds to the JSON property extraParameters



64
65
66
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 64

def extra_parameters
  @extra_parameters
end

#location_dataArray<Google::Apis::DatafusionV1beta1::LocationData>

Contains all kinds of physical location definitions for this asset. Corresponds to the JSON property locationData



69
70
71
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 69

def location_data
  @location_data
end

#parent_assetArray<Google::Apis::DatafusionV1beta1::CloudAsset>

Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. Corresponds to the JSON property parentAsset



75
76
77
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 75

def parent_asset
  @parent_asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
86
87
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 82

def update!(**args)
  @expected = args[:expected] if args.key?(:expected)
  @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
  @location_data = args[:location_data] if args.key?(:location_data)
  @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
end