Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetResourceStatus

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

Instance Method Summary collapse

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

#messageString

Additional information about the current state. Corresponds to the JSON property message

Returns:

  • (String)


683
684
685
# File 'lib/google/apis/dataplex_v1/classes.rb', line 683

def message
  @message
end

#stateString

The current state of the managed resource. Corresponds to the JSON property state

Returns:

  • (String)


688
689
690
# File 'lib/google/apis/dataplex_v1/classes.rb', line 688

def state
  @state
end

#update_timeString

Last update time of the status. Corresponds to the JSON property updateTime

Returns:

  • (String)


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