Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetSecurityStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetSecurityStatus
- 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
Security policy status of the asset. Data security policy, i.e., readers, writers & owners, should be specified in the lake/zone/asset IAM policy.
Instance Attribute Summary collapse
-
#message ⇒ String
Additional information about the current state.
-
#state ⇒ String
The current state of the security policy applied to the attached resource.
-
#update_time ⇒ String
Last update time of the status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1AssetSecurityStatus
constructor
A new instance of GoogleCloudDataplexV1AssetSecurityStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1AssetSecurityStatus
Returns a new instance of GoogleCloudDataplexV1AssetSecurityStatus.
1128 1129 1130 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Additional information about the current state.
Corresponds to the JSON property message
1116 1117 1118 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1116 def @message end |
#state ⇒ String
The current state of the security policy applied to the attached resource.
Corresponds to the JSON property state
1121 1122 1123 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1121 def state @state end |
#update_time ⇒ String
Last update time of the status.
Corresponds to the JSON property updateTime
1126 1127 1128 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1126 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1133 1134 1135 1136 1137 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1133 def update!(**args) @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 |