Class: Google::Apis::OndemandscanningV1beta1::PerScannerVerdict

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PerScannerVerdict

Returns a new instance of PerScannerVerdict.



3114
3115
3116
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3114

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

Instance Attribute Details

#malicious_content_llm_resultGoogle::Apis::OndemandscanningV1beta1::MaliciousContentLlmResult

Result of Malicious Content LLM scan. Corresponds to the JSON property maliciousContentLlmResult



3097
3098
3099
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3097

def malicious_content_llm_result
  @malicious_content_llm_result
end

#malicious_content_static_resultGoogle::Apis::OndemandscanningV1beta1::MaliciousContentStaticResult

Result of Malicious Content Static scan. Corresponds to the JSON property maliciousContentStaticResult



3102
3103
3104
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3102

def malicious_content_static_result
  @malicious_content_static_result
end

#malware_scanGoogle::Apis::OndemandscanningV1beta1::MalwareScanResult

Result of Malware scan. Corresponds to the JSON property malwareScan



3107
3108
3109
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3107

def malware_scan
  @malware_scan
end

#workspace_policyGoogle::Apis::OndemandscanningV1beta1::WorkspacePolicyResult

Result of Workspace Policy scan. Corresponds to the JSON property workspacePolicy



3112
3113
3114
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3112

def workspace_policy
  @workspace_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3119
3120
3121
3122
3123
3124
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3119

def update!(**args)
  @malicious_content_llm_result = args[:malicious_content_llm_result] if args.key?(:malicious_content_llm_result)
  @malicious_content_static_result = args[:malicious_content_static_result] if args.key?(:malicious_content_static_result)
  @malware_scan = args[:malware_scan] if args.key?(:malware_scan)
  @workspace_policy = args[:workspace_policy] if args.key?(:workspace_policy)
end