Skip to content

Commit

Permalink
docs(security_center-v1p1beta1): Updated description of Finding#sever…
Browse files Browse the repository at this point in the history
…ity field
  • Loading branch information
yoshi-automation authored Sep 21, 2020
1 parent 65c2bba commit 33b3c14
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,7 @@ def create_finding request, options = nil
# Required. Resource name of the new notification config's parent. Its format is
# "organizations/[organization_id]".
# @param config_id [::String]
# Required.
# Unique identifier provided by the client within the parent scope.
# Required. Unique identifier provided by the client within the parent scope.
# It must be between 1 and 128 characters, and contains alphanumeric
# characters, underscores or hyphens only.
# @param notification_config [::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig, ::Hash]
Expand Down Expand Up @@ -1076,6 +1075,7 @@ def group_assets request, options = nil
# * category: `=`, `:`
# * external_uri: `=`, `:`
# * event_time: `=`, `>`, `<`, `>=`, `<=`
# * severity: `=`, `:`
#
# Usage: This should be milliseconds since epoch or an RFC3339 string.
# Examples:
Expand Down Expand Up @@ -1103,6 +1103,7 @@ def group_assets request, options = nil
# * category
# * state
# * parent
# * severity
#
# The following fields are supported when compare_duration is set:
#
Expand Down Expand Up @@ -1446,13 +1447,14 @@ def list_assets request, options = nil
#
# The following field and operator combinations are supported:
#
# name: `=`
# parent: `=`, `:`
# resource_name: `=`, `:`
# state: `=`, `:`
# category: `=`, `:`
# external_uri: `=`, `:`
# event_time: `=`, `>`, `<`, `>=`, `<=`
# * name: `=`
# * parent: `=`, `:`
# * resource_name: `=`, `:`
# * state: `=`, `:`
# * category: `=`, `:`
# * external_uri: `=`, `:`
# * event_time: `=`, `>`, `<`, `>=`, `<=`
# * severity: `=`, `:`
#
# Usage: This should be milliseconds since epoch or an RFC3339 string.
# Examples:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ module V1p1beta1
# The time at which the finding was created in Security Command Center.
# @!attribute [rw] severity
# @return [::Google::Cloud::SecurityCenter::V1p1beta1::Finding::Severity]
# The severity of the finding.
# The severity of the finding. This field is managed by the source that
# writes the finding.
class Finding
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -111,7 +112,8 @@ module State
INACTIVE = 2
end

# The severity of the finding.
# The severity of the finding. This field is managed by the source that
# writes the finding.
module Severity
# No severity specified. The default value.
SEVERITY_UNSPECIFIED = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ class CreateFindingRequest
# "organizations/[organization_id]".
# @!attribute [rw] config_id
# @return [::String]
# Required.
# Unique identifier provided by the client within the parent scope.
# Required. Unique identifier provided by the client within the parent scope.
# It must be between 1 and 128 characters, and contains alphanumeric
# characters, underscores or hyphens only.
# @!attribute [rw] notification_config
Expand Down Expand Up @@ -313,6 +312,7 @@ class GroupAssetsResponse
# * category: `=`, `:`
# * external_uri: `=`, `:`
# * event_time: `=`, `>`, `<`, `>=`, `<=`
# * severity: `=`, `:`
#
# Usage: This should be milliseconds since epoch or an RFC3339 string.
# Examples:
Expand Down Expand Up @@ -341,6 +341,7 @@ class GroupAssetsResponse
# * category
# * state
# * parent
# * severity
#
# The following fields are supported when compare_duration is set:
#
Expand Down Expand Up @@ -734,13 +735,14 @@ module StateChange
#
# The following field and operator combinations are supported:
#
# name: `=`
# parent: `=`, `:`
# resource_name: `=`, `:`
# state: `=`, `:`
# category: `=`, `:`
# external_uri: `=`, `:`
# event_time: `=`, `>`, `<`, `>=`, `<=`
# * name: `=`
# * parent: `=`, `:`
# * resource_name: `=`, `:`
# * state: `=`, `:`
# * category: `=`, `:`
# * external_uri: `=`, `:`
# * event_time: `=`, `>`, `<`, `>=`, `<=`
# * severity: `=`, `:`
#
# Usage: This should be milliseconds since epoch or an RFC3339 string.
# Examples:
Expand Down
6 changes: 3 additions & 3 deletions google-cloud-security_center-v1p1beta1/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-cloud-ruby.git",
"sha": "e1d661afe7586d44a29821d44fe8a4cc6d0a34a9"
"sha": "290ffb1ab83d893fc98825865e0eaec9d184fa1b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "623a1aa03ae7a031b50be54df78263da2f22e981",
"internalRef": "327292977"
"sha": "8d73f9486fc193a150f6c907dfb9f49431aff3ff",
"internalRef": "332497859"
}
}
],
Expand Down

0 comments on commit 33b3c14

Please sign in to comment.