Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetSecurityStatus

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1AssetSecurityStatus

Returns a new instance of GoogleCloudDataplexV1AssetSecurityStatus.



1120
1121
1122
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1120

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

Instance Attribute Details

#messageString

Additional information about the current state. Corresponds to the JSON property message

Returns:

  • (String)


1108
1109
1110
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1108

def message
  @message
end

#stateString

The current state of the security policy applied to the attached resource. Corresponds to the JSON property state

Returns:

  • (String)


1113
1114
1115
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1113

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


1118
1119
1120
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1118

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1125
1126
1127
1128
1129
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1125

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