Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetStatus

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

Aggregated status of the underlying assets of a lake or zone.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1AssetStatus

Returns a new instance of GoogleCloudDataplexV1AssetStatus.



760
761
762
# File 'lib/google/apis/dataplex_v1/classes.rb', line 760

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

Instance Attribute Details

#active_assetsFixnum

Number of active assets. Corresponds to the JSON property activeAssets

Returns:

  • (Fixnum)


747
748
749
# File 'lib/google/apis/dataplex_v1/classes.rb', line 747

def active_assets
  @active_assets
end

#security_policy_applying_assetsFixnum

Number of assets that are in process of updating the security policy on attached resources. Corresponds to the JSON property securityPolicyApplyingAssets

Returns:

  • (Fixnum)


753
754
755
# File 'lib/google/apis/dataplex_v1/classes.rb', line 753

def security_policy_applying_assets
  @security_policy_applying_assets
end

#update_timeString

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

Returns:

  • (String)


758
759
760
# File 'lib/google/apis/dataplex_v1/classes.rb', line 758

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



765
766
767
768
769
# File 'lib/google/apis/dataplex_v1/classes.rb', line 765

def update!(**args)
  @active_assets = args[:active_assets] if args.key?(:active_assets)
  @security_policy_applying_assets = args[:security_policy_applying_assets] if args.key?(:security_policy_applying_assets)
  @update_time = args[:update_time] if args.key?(:update_time)
end