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.



1156
1157
1158
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1156

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

Instance Attribute Details

#active_assetsFixnum

Number of active assets. Corresponds to the JSON property activeAssets

Returns:

  • (Fixnum)


1143
1144
1145
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1143

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)


1149
1150
1151
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1149

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)


1154
1155
1156
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1154

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1161
1162
1163
1164
1165
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1161

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