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.
-
#read_access_mode ⇒ String
Optional.
-
#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.
1059 1060 1061 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1059 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
1046 1047 1048 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1046 def name @name end |
#read_access_mode ⇒ String
Optional. Determines how read permissions are handled for each asset and their
associated tables. Only available to storage buckets assets.
Corresponds to the JSON property readAccessMode
1052 1053 1054 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1052 def read_access_mode @read_access_mode end |
#type ⇒ String
Required. Immutable. Type of resource.
Corresponds to the JSON property type
1057 1058 1059 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1057 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1064 1065 1066 1067 1068 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1064 def update!(**args) @name = args[:name] if args.key?(:name) @read_access_mode = args[:read_access_mode] if args.key?(:read_access_mode) @type = args[:type] if args.key?(:type) end |