Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetResourceSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetResourceSpec
- 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
Identifies the cloud resource that is referenced by this asset.
Instance Attribute Summary collapse
-
#name ⇒ String
Immutable.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1AssetResourceSpec
constructor
A new instance of GoogleCloudDataplexV1AssetResourceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1AssetResourceSpec
Returns a new instance of GoogleCloudDataplexV1AssetResourceSpec.
665 666 667 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 665 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Immutable. Relative name of the cloud resource that contains the data that is
being managed within a lake. For example: projects/project_number/buckets/
bucket_id projects/project_number/datasets/dataset_id
Corresponds to the JSON property name
658 659 660 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 658 def name @name end |
#type ⇒ String
Required. Immutable. Type of resource.
Corresponds to the JSON property type
663 664 665 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 663 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
670 671 672 673 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 670 def update!(**args) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |