Class: Google::Apis::CloudassetV1::AssetException
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::AssetException
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
An exception of an asset.
Instance Attribute Summary collapse
-
#details ⇒ String
The details of the exception.
-
#exception_type ⇒ String
The type of exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetException
constructor
A new instance of AssetException.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetException
Returns a new instance of AssetException.
567 568 569 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
The details of the exception.
Corresponds to the JSON property details
560 561 562 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 560 def details @details end |
#exception_type ⇒ String
The type of exception.
Corresponds to the JSON property exceptionType
565 566 567 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 565 def exception_type @exception_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
572 573 574 575 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 572 def update!(**args) @details = args[:details] if args.key?(:details) @exception_type = args[:exception_type] if args.key?(:exception_type) end |