Class: Google::Apis::SecuritypostureV1::Report

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

Overview

Details of a report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Report

Returns a new instance of Report.



1517
1518
1519
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1517

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

Instance Attribute Details

#create_timeString

Output only. The time at which the report was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1499
1500
1501
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1499

def create_time
  @create_time
end

#iac_validation_reportGoogle::Apis::SecuritypostureV1::IaCValidationReport

Details of an infrastructure-as-code (IaC) validation report. Corresponds to the JSON property iacValidationReport



1504
1505
1506
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1504

def iac_validation_report
  @iac_validation_report
end

#nameString

Required. The name of the report, in the format organizations/organization/ locations/global/reports/report_id`. Corresponds to the JSON propertyname`

Returns:

  • (String)


1510
1511
1512
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1510

def name
  @name
end

#update_timeString

Output only. The time at which the report was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1515
1516
1517
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1515

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1522
1523
1524
1525
1526
1527
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1522

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @iac_validation_report = args[:iac_validation_report] if args.key?(:iac_validation_report)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end