Class: Google::Apis::ApphubV1alpha::CloudAsset
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::CloudAsset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/representations.rb
Instance Attribute Summary collapse
-
#asset_name ⇒ String
Corresponds to the JSON property
assetName
. -
#asset_type ⇒ String
Corresponds to the JSON property
assetType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAsset
constructor
A new instance of CloudAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAsset
Returns a new instance of CloudAsset.
426 427 428 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_name ⇒ String
Corresponds to the JSON property assetName
419 420 421 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 419 def asset_name @asset_name end |
#asset_type ⇒ String
Corresponds to the JSON property assetType
424 425 426 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 424 def asset_type @asset_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
431 432 433 434 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 431 def update!(**args) @asset_name = args[:asset_name] if args.key?(:asset_name) @asset_type = args[:asset_type] if args.key?(:asset_type) end |