Class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudReliabilityZicyWs3DataplaneProtosCloudAsset

Returns a new instance of CloudReliabilityZicyWs3DataplaneProtosCloudAsset.



195
196
197
# File 'lib/google/apis/dataplex_v1/classes.rb', line 195

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

Instance Attribute Details

#asset_nameString

Corresponds to the JSON property assetName

Returns:

  • (String)


188
189
190
# File 'lib/google/apis/dataplex_v1/classes.rb', line 188

def asset_name
  @asset_name
end

#asset_typeString

Corresponds to the JSON property assetType

Returns:

  • (String)


193
194
195
# File 'lib/google/apis/dataplex_v1/classes.rb', line 193

def asset_type
  @asset_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



200
201
202
203
# File 'lib/google/apis/dataplex_v1/classes.rb', line 200

def update!(**args)
  @asset_name = args[:asset_name] if args.key?(:asset_name)
  @asset_type = args[:asset_type] if args.key?(:asset_type)
end