Class: Google::Apis::CloudsearchV1::ContentReportSummary
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ContentReportSummary
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Summarized info of content reports. Usually less expensive to fetch than to fetch all detailed reports. Set only when the request asks for it.
Instance Attribute Summary collapse
-
#number_reports ⇒ Fixnum
Total number of reports attached to this (revision of) message.
-
#number_reports_all_revisions ⇒ Fixnum
Totoal number of reports attached to all revisions of this message (i.e. since creation).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentReportSummary
constructor
A new instance of ContentReportSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentReportSummary
Returns a new instance of ContentReportSummary.
6799 6800 6801 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6799 def initialize(**args) update!(**args) end |
Instance Attribute Details
#number_reports ⇒ Fixnum
Total number of reports attached to this (revision of) message.
Corresponds to the JSON property numberReports
6791 6792 6793 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6791 def number_reports @number_reports end |
#number_reports_all_revisions ⇒ Fixnum
Totoal number of reports attached to all revisions of this message (i.e. since
creation). Set only when the request asks for it.
Corresponds to the JSON property numberReportsAllRevisions
6797 6798 6799 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6797 def number_reports_all_revisions @number_reports_all_revisions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6804 6805 6806 6807 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6804 def update!(**args) @number_reports = args[:number_reports] if args.key?(:number_reports) @number_reports_all_revisions = args[:number_reports_all_revisions] if args.key?(:number_reports_all_revisions) end |