diff --git a/api_names_out.yaml b/api_names_out.yaml index fff424183..4417689c6 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -136588,6 +136588,7 @@ "/securitycenter:v1/Finding/parent": parent "/securitycenter:v1/Finding/resourceName": resource_name "/securitycenter:v1/Finding/securityMarks": security_marks +"/securitycenter:v1/Finding/severity": severity "/securitycenter:v1/Finding/sourceProperties": source_properties "/securitycenter:v1/Finding/sourceProperties/source_property": source_property "/securitycenter:v1/Finding/state": state diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index d5b3ccc55..1be4823f5 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - 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_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index e722f9a6b..9f5fb1fb1 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -403,6 +403,12 @@ module Google # @return [Google::Apis::SecuritycenterV1::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 @@ -430,6 +436,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 @@ -1111,14 +1118,14 @@ module Google # false` without quotes. The following field and operator combinations are # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `= # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `< - # `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 - # string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time = - # 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, - # `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid - # filter string. Use a partial match on the empty string to filter based on a - # property existing: `source_properties.my_property : ""` Use a negated partial - # match on the empty string to filter based on a property not existing: `- - # source_properties.my_property : ""` + # `, `>=`, `<=` * severity: `=`, `:` Usage: This should be milliseconds since + # epoch or an RFC3339 string. Examples: `event_time = "2019-06-10T16:07:18-07:00" + # ` `event_time = 1560208038000` * security_marks.marks: `=`, `:` * + # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, ` + # source_properties.size = 100` is a valid filter string. Use a partial match on + # the empty string to filter based on a property existing: `source_properties. + # my_property : ""` Use a negated partial match on the empty string to filter + # based on a property not existing: `-source_properties.my_property : ""` # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter @@ -1126,8 +1133,9 @@ module Google # Required. Expression that defines what assets fields to use for grouping ( # including `state_change`). The string value should follow SQL syntax: comma # separated list of fields. For example: "parent,resource_name". The following - # fields are supported: * resource_name * category * state * parent The - # following fields are supported when compare_duration is set: * state_change + # fields are supported: * resource_name * category * state * parent * severity + # The following fields are supported when compare_duration is set: * + # state_change # Corresponds to the JSON property `groupBy` # @return [String] attr_accessor :group_by diff --git a/generated/google/apis/securitycenter_v1/representations.rb b/generated/google/apis/securitycenter_v1/representations.rb index d52f0238a..7fb9e93ff 100644 --- a/generated/google/apis/securitycenter_v1/representations.rb +++ b/generated/google/apis/securitycenter_v1/representations.rb @@ -396,6 +396,7 @@ module Google property :resource_name, as: 'resourceName' property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1::SecurityMarks::Representation + property :severity, as: 'severity' hash :source_properties, as: 'sourceProperties' property :state, as: 'state' end diff --git a/generated/google/apis/securitycenter_v1/service.rb b/generated/google/apis/securitycenter_v1/service.rb index 0aaabbc48..1c61bb619 100644 --- a/generated/google/apis/securitycenter_v1/service.rb +++ b/generated/google/apis/securitycenter_v1/service.rb @@ -372,16 +372,16 @@ module Google # matching, for strings. The supported value types are: * string literals in # quotes. * integer literals without quotes. * boolean literals `true` and ` # false` without quotes. The following field and operator combinations are - # supported: name: `=` parent: `=`, `:` resource_name: `=`, `:` state: `=`, `:` - # category: `=`, `:` external_uri: `=`, `:` event_time: `=`, `>`, `<`, `>=`, `<=` - # Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: - # `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` - # security_marks.marks: `=`, `:` source_properties: `=`, `:`, `>`, `<`, `>=`, `<= - # ` For example, `source_properties.size = 100` is a valid filter string. Use a - # partial match on the empty string to filter based on a property existing: ` - # source_properties.my_property : ""` Use a negated partial match on the empty - # string to filter based on a property not existing: `-source_properties. - # my_property : ""` + # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `= + # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `< + # `, `>=`, `<=` * severity: `=`, `:` Usage: This should be milliseconds since + # epoch or an RFC3339 string. Examples: `event_time = "2019-06-10T16:07:18-07:00" + # ` `event_time = 1560208038000` security_marks.marks: `=`, `:` + # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, ` + # source_properties.size = 100` is a valid filter string. Use a partial match on + # the empty string to filter based on a property existing: `source_properties. + # my_property : ""` Use a negated partial match on the empty string to filter + # based on a property not existing: `-source_properties.my_property : ""` # @param [String] order_by # Expression that defines what fields and order to use for sorting. The string # value should follow SQL syntax: comma separated list of fields. For example: " @@ -1565,16 +1565,16 @@ module Google # matching, for strings. The supported value types are: * string literals in # quotes. * integer literals without quotes. * boolean literals `true` and ` # false` without quotes. The following field and operator combinations are - # supported: name: `=` parent: `=`, `:` resource_name: `=`, `:` state: `=`, `:` - # category: `=`, `:` external_uri: `=`, `:` event_time: `=`, `>`, `<`, `>=`, `<=` - # Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: - # `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` - # security_marks.marks: `=`, `:` source_properties: `=`, `:`, `>`, `<`, `>=`, `<= - # ` For example, `source_properties.size = 100` is a valid filter string. Use a - # partial match on the empty string to filter based on a property existing: ` - # source_properties.my_property : ""` Use a negated partial match on the empty - # string to filter based on a property not existing: `-source_properties. - # my_property : ""` + # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `= + # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `< + # `, `>=`, `<=` * severity: `=`, `:` Usage: This should be milliseconds since + # epoch or an RFC3339 string. Examples: `event_time = "2019-06-10T16:07:18-07:00" + # ` `event_time = 1560208038000` security_marks.marks: `=`, `:` + # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, ` + # source_properties.size = 100` is a valid filter string. Use a partial match on + # the empty string to filter based on a property existing: `source_properties. + # my_property : ""` Use a negated partial match on the empty string to filter + # based on a property not existing: `-source_properties.my_property : ""` # @param [String] order_by # Expression that defines what fields and order to use for sorting. The string # value should follow SQL syntax: comma separated list of fields. For example: " @@ -2078,16 +2078,16 @@ module Google # matching, for strings. The supported value types are: * string literals in # quotes. * integer literals without quotes. * boolean literals `true` and ` # false` without quotes. The following field and operator combinations are - # supported: name: `=` parent: `=`, `:` resource_name: `=`, `:` state: `=`, `:` - # category: `=`, `:` external_uri: `=`, `:` event_time: `=`, `>`, `<`, `>=`, `<=` - # Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: - # `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` - # security_marks.marks: `=`, `:` source_properties: `=`, `:`, `>`, `<`, `>=`, `<= - # ` For example, `source_properties.size = 100` is a valid filter string. Use a - # partial match on the empty string to filter based on a property existing: ` - # source_properties.my_property : ""` Use a negated partial match on the empty - # string to filter based on a property not existing: `-source_properties. - # my_property : ""` + # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `= + # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `< + # `, `>=`, `<=` * severity: `=`, `:` Usage: This should be milliseconds since + # epoch or an RFC3339 string. Examples: `event_time = "2019-06-10T16:07:18-07:00" + # ` `event_time = 1560208038000` security_marks.marks: `=`, `:` + # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, ` + # source_properties.size = 100` is a valid filter string. Use a partial match on + # the empty string to filter based on a property existing: `source_properties. + # my_property : ""` Use a negated partial match on the empty string to filter + # based on a property not existing: `-source_properties.my_property : ""` # @param [String] order_by # Expression that defines what fields and order to use for sorting. The string # value should follow SQL syntax: comma separated list of fields. For example: " diff --git a/generated/google/apis/securitycenter_v1/synth.metadata b/generated/google/apis/securitycenter_v1/synth.metadata index 8b51c41a5..593d243ef 100644 --- a/generated/google/apis/securitycenter_v1/synth.metadata +++ b/generated/google/apis/securitycenter_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "fd68d8388ddace483f1cff77d52a03934f656362" + "sha": "50c4a38b50d8806c333b288f89f5c86a3c5a82ef" } } ]