Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Compliance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Compliance

Returns a new instance of GoogleCloudSecuritycenterV2Compliance.



5256
5257
5258
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5256

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

Instance Attribute Details

#idsArray<String>

Corresponds to the JSON property ids

Returns:

  • (Array<String>)


5244
5245
5246
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5244

def ids
  @ids
end

#standardString

Corresponds to the JSON property standard

Returns:

  • (String)


5249
5250
5251
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5249

def standard
  @standard
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


5254
5255
5256
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5254

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5261
5262
5263
5264
5265
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5261

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