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
more...

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.

[View source]

1160
1161
1162
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1160

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

Instance Attribute Details

#active_assetsFixnum

Number of active assets. Corresponds to the JSON property activeAssets

Returns:

  • (Fixnum)

1147
1148
1149
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1147

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)

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

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)

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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1165
1166
1167
1168
1169
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1165

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