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.



1152
1153
1154
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1152

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

Instance Attribute Details

#active_assetsFixnum

Number of active assets. Corresponds to the JSON property activeAssets

Returns:

  • (Fixnum)


1139
1140
1141
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1139

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)


1145
1146
1147
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1145

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)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1157
1158
1159
1160
1161
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1157

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