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.



5523
5524
5525
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5523

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

Instance Attribute Details

#idsArray<String>

Corresponds to the JSON property ids

Returns:

  • (Array<String>)


5511
5512
5513
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5511

def ids
  @ids
end

#standardString

Corresponds to the JSON property standard

Returns:

  • (String)


5516
5517
5518
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5516

def standard
  @standard
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


5521
5522
5523
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5521

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5528
5529
5530
5531
5532
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5528

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