Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ComplianceDetails

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

Overview

Compliance Details associated with the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ComplianceDetails

Returns a new instance of GoogleCloudSecuritycenterV2ComplianceDetails.



6328
6329
6330
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6328

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

Instance Attribute Details

#cloud_controlGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudControl

CloudControl associated with the finding. Corresponds to the JSON property cloudControl



6314
6315
6316
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6314

def cloud_control
  @cloud_control
end

#cloud_control_deployment_namesArray<String>

Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/ deploymentIdentifier Corresponds to the JSON property cloudControlDeploymentNames

Returns:

  • (Array<String>)


6321
6322
6323
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6321

def cloud_control_deployment_names
  @cloud_control_deployment_names
end

#frameworksArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Framework>

Details of Frameworks associated with the finding Corresponds to the JSON property frameworks



6326
6327
6328
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6326

def frameworks
  @frameworks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6333
6334
6335
6336
6337
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6333

def update!(**args)
  @cloud_control = args[:cloud_control] if args.key?(:cloud_control)
  @cloud_control_deployment_names = args[:cloud_control_deployment_names] if args.key?(:cloud_control_deployment_names)
  @frameworks = args[:frameworks] if args.key?(:frameworks)
end