Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetResourceStatus
- 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
Status of the resource referenced by an asset.
Instance Attribute Summary collapse
-
#message ⇒ String
Additional information about the current state.
-
#state ⇒ String
The current state of the managed resource.
-
#update_time ⇒ String
Last update time of the status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1AssetResourceStatus
constructor
A new instance of GoogleCloudDataplexV1AssetResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1AssetResourceStatus
Returns a new instance of GoogleCloudDataplexV1AssetResourceStatus.
695 696 697 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Additional information about the current state.
Corresponds to the JSON property message
683 684 685 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 683 def @message end |
#state ⇒ String
The current state of the managed resource.
Corresponds to the JSON property state
688 689 690 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 688 def state @state end |
#update_time ⇒ String
Last update time of the status.
Corresponds to the JSON property updateTime
693 694 695 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 693 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
700 701 702 703 704 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 700 def update!(**args) @message = args[:message] if args.key?(:message) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |