Class ReportingApiReport


  • @Beta
    public class ReportingApiReport
    extends java.lang.Object
    An object representing a report generated by the Reporting API.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportingApiReport​(ReportId id, java.lang.String initiatorUrl, java.lang.String destination, java.lang.String type, TimeSinceEpoch timestamp, java.lang.Integer depth, java.lang.Integer completedAttempts, java.util.Map<java.lang.String,​java.lang.Object> body, ReportStatus status)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getBody()  
      java.lang.Integer getCompletedAttempts()
      The number of delivery attempts made so far, not including an active attempt.
      java.lang.Integer getDepth()
      How many uploads deep the related request was.
      java.lang.String getDestination()
      The name of the endpoint group that should be used to deliver the report.
      ReportId getId()  
      java.lang.String getInitiatorUrl()
      The URL of the document that triggered the report.
      ReportStatus getStatus()  
      TimeSinceEpoch getTimestamp()
      When the report was generated.
      java.lang.String getType()
      The type of the report (specifies the set of data that is contained in the report body).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportingApiReport

        public ReportingApiReport​(ReportId id,
                                  java.lang.String initiatorUrl,
                                  java.lang.String destination,
                                  java.lang.String type,
                                  TimeSinceEpoch timestamp,
                                  java.lang.Integer depth,
                                  java.lang.Integer completedAttempts,
                                  java.util.Map<java.lang.String,​java.lang.Object> body,
                                  ReportStatus status)
    • Method Detail

      • getInitiatorUrl

        public java.lang.String getInitiatorUrl()
        The URL of the document that triggered the report.
      • getDestination

        public java.lang.String getDestination()
        The name of the endpoint group that should be used to deliver the report.
      • getType

        public java.lang.String getType()
        The type of the report (specifies the set of data that is contained in the report body).
      • getTimestamp

        public TimeSinceEpoch getTimestamp()
        When the report was generated.
      • getDepth

        public java.lang.Integer getDepth()
        How many uploads deep the related request was.
      • getCompletedAttempts

        public java.lang.Integer getCompletedAttempts()
        The number of delivery attempts made so far, not including an active attempt.
      • getBody

        public java.util.Map<java.lang.String,​java.lang.Object> getBody()