Class: Google::Apis::WorkloadmanagerV1::ViolationDetails
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::ViolationDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Message describing the violdation in execution result
Instance Attribute Summary collapse
-
#asset ⇒ String
the name of asset Corresponds to the JSON property
asset. -
#observed ⇒ Hash<String,String>
observed Corresponds to the JSON property
observed. -
#service_account ⇒ String
the service account associate with resource Corresponds to the JSON property
serviceAccount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ViolationDetails
constructor
A new instance of ViolationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ViolationDetails
Returns a new instance of ViolationDetails.
1449 1450 1451 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
the name of asset
Corresponds to the JSON property asset
1437 1438 1439 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1437 def asset @asset end |
#observed ⇒ Hash<String,String>
observed
Corresponds to the JSON property observed
1442 1443 1444 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1442 def observed @observed end |
#service_account ⇒ String
the service account associate with resource
Corresponds to the JSON property serviceAccount
1447 1448 1449 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1447 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1454 1455 1456 1457 1458 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1454 def update!(**args) @asset = args[:asset] if args.key?(:asset) @observed = args[:observed] if args.key?(:observed) @service_account = args[:service_account] if args.key?(:service_account) end |