Class: Google::Apis::CloudassetV1::AssetException

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

Instance Method Summary collapse

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

#detailsString

The details of the exception. Corresponds to the JSON property details

Returns:

  • (String)


560
561
562
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 560

def details
  @details
end

#exception_typeString

The type of exception. Corresponds to the JSON property exceptionType

Returns:

  • (String)


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