Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ComplianceDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ComplianceDetails

Returns a new instance of GoogleCloudSecuritycenterV2ComplianceDetails.



5807
5808
5809
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5807

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

Instance Attribute Details

#cloud_controlGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudControl

Corresponds to the JSON property cloudControl



5795
5796
5797
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5795

def cloud_control
  @cloud_control
end

#cloud_control_deployment_namesArray<String>

Corresponds to the JSON property cloudControlDeploymentNames

Returns:

  • (Array<String>)


5800
5801
5802
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5800

def cloud_control_deployment_names
  @cloud_control_deployment_names
end

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

Corresponds to the JSON property frameworks



5805
5806
5807
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5805

def frameworks
  @frameworks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5812
5813
5814
5815
5816
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5812

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