Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ZoneResourceSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1ZoneResourceSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Settings for resources attached as assets within a zone.
Instance Attribute Summary collapse
-
#location_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1ZoneResourceSpec
constructor
A new instance of GoogleCloudDataplexV1ZoneResourceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1ZoneResourceSpec
Returns a new instance of GoogleCloudDataplexV1ZoneResourceSpec.
7608 7609 7610 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7608 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_type ⇒ String
Required. Immutable. The location type of the resources that are allowed to be
attached to the assets within this zone.
Corresponds to the JSON property locationType
7606 7607 7608 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7606 def location_type @location_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7613 7614 7615 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7613 def update!(**args) @location_type = args[:location_type] if args.key?(:location_type) end |