diff --git a/README.md b/README.md index 13553b365..cad5c8583 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 9.0.0 + 9.1.0 pom import diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java b/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java index fd9f9003a..1045e7ac9 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java +++ b/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java @@ -888,9 +888,11 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -905,9 +907,11 @@ public boolean hasEventTime() { * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -922,9 +926,11 @@ public com.google.protobuf.Timestamp getEventTime() { * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2629,9 +2635,11 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2645,9 +2653,11 @@ public boolean hasEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2665,9 +2675,11 @@ public com.google.protobuf.Timestamp getEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2689,9 +2701,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2710,9 +2724,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2736,9 +2752,11 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2758,9 +2776,11 @@ public Builder clearEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2774,9 +2794,11 @@ public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2792,9 +2814,11 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java b/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java index 26138f711..6fe4a518b 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java +++ b/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java @@ -326,9 +326,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -340,9 +342,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -354,9 +358,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; diff --git a/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto b/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto index 4ccdc495c..cf0873cfc 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto +++ b/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto @@ -101,9 +101,11 @@ message Finding { // to the finding. SecurityMarks security_marks = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The time at which the event took place. For example, if the finding - // represents an open firewall it would capture the time the detector believes - // the firewall became open. The accuracy is determined by the detector. + // The time at which the event took place, or when an update to the finding + // occurred. For example, if the finding represents an open firewall it would + // capture the time the detector believes the firewall became open. The + // accuracy is determined by the detector. If the finding were to be resolved + // afterward, this time would reflect when the finding was resolved. google.protobuf.Timestamp event_time = 9; // The time at which the finding was created in Security Command Center. diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java index 4b18f7b7f..a188e2c35 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java @@ -452,7 +452,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Immutable. The relative resource name of the source the finding belongs to. See:
+   * Immutable. The relative resource name of the source the finding belongs to.
+   * See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
    * This field is immutable after creation time.
    * For example:
@@ -479,7 +480,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * Immutable. The relative resource name of the source the finding belongs to. See:
+   * Immutable. The relative resource name of the source the finding belongs to.
+   * See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
    * This field is immutable after creation time.
    * For example:
@@ -891,9 +893,11 @@ public com.google.cloud.securitycenter.v1beta1.SecurityMarks getSecurityMarks()
    *
    *
    * 
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -908,9 +912,11 @@ public boolean hasEventTime() { * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -925,9 +931,11 @@ public com.google.protobuf.Timestamp getEventTime() { * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -1639,7 +1647,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Immutable. The relative resource name of the source the finding belongs to. See:
+     * Immutable. The relative resource name of the source the finding belongs to.
+     * See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
      * This field is immutable after creation time.
      * For example:
@@ -1665,7 +1674,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * Immutable. The relative resource name of the source the finding belongs to. See:
+     * Immutable. The relative resource name of the source the finding belongs to.
+     * See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
      * This field is immutable after creation time.
      * For example:
@@ -1691,7 +1701,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * Immutable. The relative resource name of the source the finding belongs to. See:
+     * Immutable. The relative resource name of the source the finding belongs to.
+     * See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
      * This field is immutable after creation time.
      * For example:
@@ -1716,7 +1727,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * Immutable. The relative resource name of the source the finding belongs to. See:
+     * Immutable. The relative resource name of the source the finding belongs to.
+     * See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
      * This field is immutable after creation time.
      * For example:
@@ -1737,7 +1749,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * Immutable. The relative resource name of the source the finding belongs to. See:
+     * Immutable. The relative resource name of the source the finding belongs to.
+     * See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
      * This field is immutable after creation time.
      * For example:
@@ -2635,9 +2648,11 @@ public com.google.cloud.securitycenter.v1beta1.SecurityMarks.Builder getSecurity
      *
      *
      * 
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2651,9 +2666,11 @@ public boolean hasEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2671,9 +2688,11 @@ public com.google.protobuf.Timestamp getEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2695,9 +2714,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2716,9 +2737,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2742,9 +2765,11 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2764,9 +2789,11 @@ public Builder clearEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2780,9 +2807,11 @@ public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2798,9 +2827,11 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java index f3a401c26..90f38f888 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java @@ -58,7 +58,8 @@ public interface FindingOrBuilder * * *
-   * Immutable. The relative resource name of the source the finding belongs to. See:
+   * Immutable. The relative resource name of the source the finding belongs to.
+   * See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
    * This field is immutable after creation time.
    * For example:
@@ -74,7 +75,8 @@ public interface FindingOrBuilder
    *
    *
    * 
-   * Immutable. The relative resource name of the source the finding belongs to. See:
+   * Immutable. The relative resource name of the source the finding belongs to.
+   * See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
    * This field is immutable after creation time.
    * For example:
@@ -326,9 +328,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    *
    *
    * 
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -340,9 +344,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -354,9 +360,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java index 738d6b9ff..1f967069f 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java @@ -46,12 +46,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/securitycenter/v1beta1/fi" + "nding.proto\022#google.cloud.securitycenter" - + ".v1beta1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0328google/clo" - + "ud/securitycenter/v1beta1/security_marks" - + ".proto\032\034google/protobuf/struct.proto\032\037go" - + "ogle/protobuf/timestamp.proto\032\034google/ap" - + "i/annotations.proto\"\270\005\n\007Finding\022\014\n\004name\030" + + ".v1beta1\032\034google/api/annotations.proto\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\0328google/cloud/securit" + + "ycenter/v1beta1/security_marks.proto\032\034go" + + "ogle/protobuf/struct.proto\032\037google/proto" + + "buf/timestamp.proto\"\270\005\n\007Finding\022\014\n\004name\030" + "\001 \001(\t\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\025\n\rresource_n" + "ame\030\003 \001(\t\022A\n\005state\030\004 \001(\01622.google.cloud." + "securitycenter.v1beta1.Finding.State\022\020\n\010" @@ -78,12 +78,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.securitycenter.v1beta1.SecurityMarksOuterClass.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_securitycenter_v1beta1_Finding_descriptor = getDescriptor().getMessageTypes().get(0); @@ -118,12 +118,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.securitycenter.v1beta1.SecurityMarksOuterClass.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto b/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto index d78a522b4..647b3b432 100644 --- a/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto +++ b/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.securitycenter.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/securitycenter/v1beta1/security_marks.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; option java_multiple_files = true; @@ -58,7 +58,8 @@ message Finding { // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" string name = 1; - // Immutable. The relative resource name of the source the finding belongs to. See: + // Immutable. The relative resource name of the source the finding belongs to. + // See: // https://cloud.google.com/apis/design/resource_names#relative_resource_name // This field is immutable after creation time. // For example: @@ -97,9 +98,11 @@ message Finding { // to the finding. SecurityMarks security_marks = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The time at which the event took place. For example, if the finding - // represents an open firewall it would capture the time the detector believes - // the firewall became open. The accuracy is determined by the detector. + // The time at which the event took place, or when an update to the finding + // occurred. For example, if the finding represents an open firewall it would + // capture the time the detector believes the firewall became open. The + // accuracy is determined by the detector. If the finding were to be resolved + // afterward, this time would reflect when the finding was resolved. google.protobuf.Timestamp event_time = 9; // The time at which the finding was created in Security Command Center. diff --git a/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Finding.java b/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Finding.java index 5a7324570..3033c87e7 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Finding.java +++ b/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Finding.java @@ -1104,9 +1104,11 @@ public com.google.cloud.securitycenter.v1p1beta1.SecurityMarks getSecurityMarks( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -1121,9 +1123,11 @@ public boolean hasEventTime() { * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -1138,9 +1142,11 @@ public com.google.protobuf.Timestamp getEventTime() { * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2908,9 +2914,11 @@ public Builder clearSecurityMarks() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2924,9 +2932,11 @@ public boolean hasEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2944,9 +2954,11 @@ public com.google.protobuf.Timestamp getEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2968,9 +2980,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -2989,9 +3003,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -3015,9 +3031,11 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -3037,9 +3055,11 @@ public Builder clearEventTime() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -3053,9 +3073,11 @@ public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; @@ -3071,9 +3093,11 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() { * * *
-     * The time at which the event took place. For example, if the finding
-     * represents an open firewall it would capture the time the detector believes
-     * the firewall became open. The accuracy is determined by the detector.
+     * The time at which the event took place, or when an update to the finding
+     * occurred. For example, if the finding represents an open firewall it would
+     * capture the time the detector believes the firewall became open. The
+     * accuracy is determined by the detector. If the finding were to be resolved
+     * afterward, this time would reflect when the finding was resolved.
      * 
* * .google.protobuf.Timestamp event_time = 9; diff --git a/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOrBuilder.java b/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOrBuilder.java index f3a2de2f2..7729e74db 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOrBuilder.java +++ b/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOrBuilder.java @@ -326,9 +326,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -340,9 +342,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; @@ -354,9 +358,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * The time at which the event took place. For example, if the finding
-   * represents an open firewall it would capture the time the detector believes
-   * the firewall became open. The accuracy is determined by the detector.
+   * The time at which the event took place, or when an update to the finding
+   * occurred. For example, if the finding represents an open firewall it would
+   * capture the time the detector believes the firewall became open. The
+   * accuracy is determined by the detector. If the finding were to be resolved
+   * afterward, this time would reflect when the finding was resolved.
    * 
* * .google.protobuf.Timestamp event_time = 9; diff --git a/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto b/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto index 75f52dfe9..49f8159f5 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto +++ b/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto @@ -118,9 +118,11 @@ message Finding { // to the finding. SecurityMarks security_marks = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The time at which the event took place. For example, if the finding - // represents an open firewall it would capture the time the detector believes - // the firewall became open. The accuracy is determined by the detector. + // The time at which the event took place, or when an update to the finding + // occurred. For example, if the finding represents an open firewall it would + // capture the time the detector believes the firewall became open. The + // accuracy is determined by the detector. If the finding were to be resolved + // afterward, this time would reflect when the finding was resolved. google.protobuf.Timestamp event_time = 9; // The time at which the finding was created in Security Command Center. diff --git a/synth.metadata b/synth.metadata index 414f2e798..e83fa3c51 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,31 +4,31 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-securitycenter.git", - "sha": "aa7efed2943f9344a751ad09d7172cae4d192bf7" + "sha": "d2299177affa41eca0573237dfc74622f0cb9e6a" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5ad09e867a8f1faa19fbd674e51fa9c3f5fe2770", - "internalRef": "326514554" + "sha": "623a1aa03ae7a031b50be54df78263da2f22e981", + "internalRef": "327292977" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5ad09e867a8f1faa19fbd674e51fa9c3f5fe2770", - "internalRef": "326514554" + "sha": "623a1aa03ae7a031b50be54df78263da2f22e981", + "internalRef": "327292977" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5ad09e867a8f1faa19fbd674e51fa9c3f5fe2770", - "internalRef": "326514554" + "sha": "623a1aa03ae7a031b50be54df78263da2f22e981", + "internalRef": "327292977" } }, {