Class: Google::Apis::WorkloadmanagerV1::AssetLocation
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::AssetLocation
- 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
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
-
#ccfe_rms_path ⇒ String
Spanner path of the CCFE RMS database.
-
#expected ⇒ Google::Apis::WorkloadmanagerV1::IsolationExpectations
Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation.
-
#extra_parameters ⇒ Array<Google::Apis::WorkloadmanagerV1::ExtraParameter>
Defines extra parameters required for specific asset types.
-
#location_data ⇒ Array<Google::Apis::WorkloadmanagerV1::LocationData>
Contains all kinds of physical location definitions for this asset.
-
#parent_asset ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudAsset>
Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetLocation
constructor
A new instance of AssetLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetLocation
Returns a new instance of AssetLocation.
84 85 86 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 84 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ccfe_rms_path ⇒ String
Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
that use CCFE RMS for storing resource metadata.
Corresponds to the JSON property ccfeRmsPath
60 61 62 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 60 def ccfe_rms_path @ccfe_rms_path end |
#expected ⇒ Google::Apis::WorkloadmanagerV1::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
66 67 68 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 66 def expected @expected end |
#extra_parameters ⇒ Array<Google::Apis::WorkloadmanagerV1::ExtraParameter>
Defines extra parameters required for specific asset types.
Corresponds to the JSON property extraParameters
71 72 73 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 71 def extra_parameters @extra_parameters end |
#location_data ⇒ Array<Google::Apis::WorkloadmanagerV1::LocationData>
Contains all kinds of physical location definitions for this asset.
Corresponds to the JSON property locationData
76 77 78 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 76 def location_data @location_data end |
#parent_asset ⇒ Array<Google::Apis::WorkloadmanagerV1::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
82 83 84 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 82 def parent_asset @parent_asset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
89 90 91 92 93 94 95 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 89 def update!(**args) @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path) @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 |