From 33b3c14d1cd3b5f9538786e2aff4913f204c4be4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 21 Sep 2020 14:09:07 -0700 Subject: [PATCH] docs(security_center-v1p1beta1): Updated description of Finding#severity field --- .../v1p1beta1/security_center/client.rb | 20 ++++++++++--------- .../v1p1beta1/securitycenter_service_pb.rb | 1 + .../cloud/securitycenter/v1p1beta1/finding.rb | 6 ++++-- .../v1p1beta1/securitycenter_service.rb | 20 ++++++++++--------- .../synth.metadata | 6 +++--- 5 files changed, 30 insertions(+), 23 deletions(-) diff --git a/google-cloud-security_center-v1p1beta1/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb b/google-cloud-security_center-v1p1beta1/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb index 12a2df0dd38b..b59031015b85 100644 --- a/google-cloud-security_center-v1p1beta1/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb +++ b/google-cloud-security_center-v1p1beta1/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb @@ -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] @@ -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: @@ -1103,6 +1103,7 @@ def group_assets request, options = nil # * category # * state # * parent + # * severity # # The following fields are supported when compare_duration is set: # @@ -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: diff --git a/google-cloud-security_center-v1p1beta1/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb b/google-cloud-security_center-v1p1beta1/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb index 74077a2af146..97c055128bf5 100644 --- a/google-cloud-security_center-v1p1beta1/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb +++ b/google-cloud-security_center-v1p1beta1/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb @@ -3,6 +3,7 @@ require 'google/protobuf' +require 'google/cloud/securitycenter/v1p1beta1/notification_message_pb' require 'google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' diff --git a/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb b/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb index 5a31951c4805..b2ea8cf9f1d4 100644 --- a/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb +++ b/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb @@ -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 @@ -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 diff --git a/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb b/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb index 3da6106a2f3e..e3e06a02a9ad 100644 --- a/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb +++ b/google-cloud-security_center-v1p1beta1/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb @@ -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 @@ -313,6 +312,7 @@ class GroupAssetsResponse # * category: `=`, `:` # * external_uri: `=`, `:` # * event_time: `=`, `>`, `<`, `>=`, `<=` + # * severity: `=`, `:` # # Usage: This should be milliseconds since epoch or an RFC3339 string. # Examples: @@ -341,6 +341,7 @@ class GroupAssetsResponse # * category # * state # * parent + # * severity # # The following fields are supported when compare_duration is set: # @@ -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: diff --git a/google-cloud-security_center-v1p1beta1/synth.metadata b/google-cloud-security_center-v1p1beta1/synth.metadata index cc44769419c5..a88a438bbff3 100644 --- a/google-cloud-security_center-v1p1beta1/synth.metadata +++ b/google-cloud-security_center-v1p1beta1/synth.metadata @@ -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" } } ],