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.
696 697 698 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Additional information about the current state.
Corresponds to the JSON property message
684 685 686 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 684 def @message end |
#state ⇒ String
The current state of the managed resource.
Corresponds to the JSON property state
689 690 691 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 689 def state @state end |
#update_time ⇒ String
Last update time of the status.
Corresponds to the JSON property updateTime
694 695 696 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 694 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
701 702 703 704 705 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 701 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 |