Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Compliance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Compliance

Returns a new instance of GoogleCloudSecuritycenterV2Compliance.



5704
5705
5706
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5704

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

Instance Attribute Details

#idsArray<String>

Corresponds to the JSON property ids

Returns:

  • (Array<String>)


5692
5693
5694
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5692

def ids
  @ids
end

#standardString

Corresponds to the JSON property standard

Returns:

  • (String)


5697
5698
5699
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5697

def standard
  @standard
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


5702
5703
5704
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5702

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5709
5710
5711
5712
5713
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5709

def update!(**args)
  @ids = args[:ids] if args.key?(:ids)
  @standard = args[:standard] if args.key?(:standard)
  @version = args[:version] if args.key?(:version)
end