diff --git a/api_names_out.yaml b/api_names_out.yaml index 4417689c6..7ff5f65dd 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -137336,6 +137336,7 @@ "/securitycenter:v1beta2/Finding/parent": parent "/securitycenter:v1beta2/Finding/resourceName": resource_name "/securitycenter:v1beta2/Finding/securityMarks": security_marks +"/securitycenter:v1beta2/Finding/severity": severity "/securitycenter:v1beta2/Finding/sourceProperties": source_properties "/securitycenter:v1beta2/Finding/sourceProperties/source_property": source_property "/securitycenter:v1beta2/Finding/state": state diff --git a/generated/google/apis/securitycenter_v1beta2.rb b/generated/google/apis/securitycenter_v1beta2.rb index 6c9496384..c3f58d667 100644 --- a/generated/google/apis/securitycenter_v1beta2.rb +++ b/generated/google/apis/securitycenter_v1beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1beta2 VERSION = 'V1beta2' - REVISION = '20201112' + REVISION = '20201211' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1beta2/classes.rb b/generated/google/apis/securitycenter_v1beta2/classes.rb index fa4693f52..5250fbc7e 100644 --- a/generated/google/apis/securitycenter_v1beta2/classes.rb +++ b/generated/google/apis/securitycenter_v1beta2/classes.rb @@ -240,6 +240,12 @@ module Google # @return [Google::Apis::SecuritycenterV1beta2::SecurityMarks] attr_accessor :security_marks + # The severity of the finding. This field is managed by the source that writes + # the finding. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + # Source specific properties. These properties are managed by the source that # writes the finding. The key names in the source_properties map must be between # 1 and 255 characters, and must start with a letter and contain alphanumeric @@ -267,6 +273,7 @@ module Google @parent = args[:parent] if args.key?(:parent) @resource_name = args[:resource_name] if args.key?(:resource_name) @security_marks = args[:security_marks] if args.key?(:security_marks) + @severity = args[:severity] if args.key?(:severity) @source_properties = args[:source_properties] if args.key?(:source_properties) @state = args[:state] if args.key?(:state) end diff --git a/generated/google/apis/securitycenter_v1beta2/representations.rb b/generated/google/apis/securitycenter_v1beta2/representations.rb index d4b7b2aa5..fef3f36dd 100644 --- a/generated/google/apis/securitycenter_v1beta2/representations.rb +++ b/generated/google/apis/securitycenter_v1beta2/representations.rb @@ -200,6 +200,7 @@ module Google property :resource_name, as: 'resourceName' property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation + property :severity, as: 'severity' hash :source_properties, as: 'sourceProperties' property :state, as: 'state' end diff --git a/generated/google/apis/securitycenter_v1beta2/synth.metadata b/generated/google/apis/securitycenter_v1beta2/synth.metadata index 8b51c41a5..593d243ef 100644 --- a/generated/google/apis/securitycenter_v1beta2/synth.metadata +++ b/generated/google/apis/securitycenter_v1beta2/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "fd68d8388ddace483f1cff77d52a03934f656362" + "sha": "50c4a38b50d8806c333b288f89f5c86a3c5a82ef" } } ]