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.



707
708
709
# File 'lib/google/apis/dataplex_v1/classes.rb', line 707

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#managed_access_identityString

Output only. Service account associated with the BigQuery Connection. Corresponds to the JSON property managedAccessIdentity

Returns:

  • (String)


690
691
692
# File 'lib/google/apis/dataplex_v1/classes.rb', line 690

def managed_access_identity
  @managed_access_identity
end

#messageString

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

Returns:

  • (String)


695
696
697
# File 'lib/google/apis/dataplex_v1/classes.rb', line 695

def message
  @message
end

#stateString

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

Returns:

  • (String)


700
701
702
# File 'lib/google/apis/dataplex_v1/classes.rb', line 700

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


705
706
707
# File 'lib/google/apis/dataplex_v1/classes.rb', line 705

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



712
713
714
715
716
717
# File 'lib/google/apis/dataplex_v1/classes.rb', line 712

def update!(**args)
  @managed_access_identity = args[:managed_access_identity] if args.key?(:managed_access_identity)
  @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