google-cloud-security_center-v1p1beta1 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/security_center/v1p1beta1.rb +1 -1
- data/lib/google/cloud/security_center/v1p1beta1/security_center.rb +1 -1
- data/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb +554 -529
- data/lib/google/cloud/security_center/v1p1beta1/security_center/credentials.rb +1 -1
- data/lib/google/cloud/security_center/v1p1beta1/security_center/operations.rb +109 -103
- data/lib/google/cloud/security_center/v1p1beta1/security_center/paths.rb +16 -16
- data/lib/google/cloud/security_center/v1p1beta1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1p1beta1/notification_message_pb.rb +2 -0
- data/lib/google/cloud/securitycenter/v1p1beta1/resource_pb.rb +27 -0
- data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb +0 -4
- data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_services_pb.rb +1 -3
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb +51 -48
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/finding.rb +29 -29
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/notification_config.rb +17 -16
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/notification_message.rb +8 -5
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/organization_settings.rb +11 -11
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb +48 -0
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.rb +4 -4
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/security_marks.rb +11 -11
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb +220 -204
- data/proto_docs/google/cloud/securitycenter/v1p1beta1/source.rb +7 -7
- data/proto_docs/google/iam/v1/iam_policy.rb +15 -15
- data/proto_docs/google/iam/v1/options.rb +3 -3
- data/proto_docs/google/iam/v1/policy.rb +26 -26
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +18 -18
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- data/proto_docs/google/type/expr.rb +6 -6
- metadata +35 -6
- data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -78,12 +78,12 @@ module Google
|
|
78
78
|
# be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
79
79
|
# microsecond should be expressed in JSON format as "3.000001s".
|
80
80
|
# @!attribute [rw] seconds
|
81
|
-
# @return [Integer]
|
81
|
+
# @return [::Integer]
|
82
82
|
# Signed seconds of the span of time. Must be from -315,576,000,000
|
83
83
|
# to +315,576,000,000 inclusive. Note: these bounds are computed from:
|
84
84
|
# 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
|
85
85
|
# @!attribute [rw] nanos
|
86
|
-
# @return [Integer]
|
86
|
+
# @return [::Integer]
|
87
87
|
# Signed fractions of a second at nanosecond resolution of the span
|
88
88
|
# of time. Durations less than one second are represented with a 0
|
89
89
|
# `seconds` field and a positive or negative `nanos` field. For durations
|
@@ -91,8 +91,8 @@ module Google
|
|
91
91
|
# of the same sign as the `seconds` field. Must be from -999,999,999
|
92
92
|
# to +999,999,999 inclusive.
|
93
93
|
class Duration
|
94
|
-
include Google::Protobuf::MessageExts
|
95
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
97
|
end
|
98
98
|
end
|
@@ -29,8 +29,8 @@ module Google
|
|
29
29
|
#
|
30
30
|
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
31
|
class Empty
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -219,11 +219,11 @@ module Google
|
|
219
219
|
# request should verify the included field paths, and return an
|
220
220
|
# `INVALID_ARGUMENT` error if any path is unmappable.
|
221
221
|
# @!attribute [rw] paths
|
222
|
-
# @return [Array
|
222
|
+
# @return [::Array<::String>]
|
223
223
|
# The set of field mask paths.
|
224
224
|
class FieldMask
|
225
|
-
include Google::Protobuf::MessageExts
|
226
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
227
|
end
|
228
228
|
end
|
229
229
|
end
|
@@ -28,19 +28,19 @@ module Google
|
|
28
28
|
#
|
29
29
|
# The JSON representation for `Struct` is JSON object.
|
30
30
|
# @!attribute [rw] fields
|
31
|
-
# @return [Google::Protobuf::Map{String => Google::Protobuf::Value}]
|
31
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
32
32
|
# Unordered map of dynamically typed values.
|
33
33
|
class Struct
|
34
|
-
include Google::Protobuf::MessageExts
|
35
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
36
|
|
37
37
|
# @!attribute [rw] key
|
38
|
-
# @return [String]
|
38
|
+
# @return [::String]
|
39
39
|
# @!attribute [rw] value
|
40
|
-
# @return [Google::Protobuf::Value]
|
40
|
+
# @return [::Google::Protobuf::Value]
|
41
41
|
class FieldsEntry
|
42
|
-
include Google::Protobuf::MessageExts
|
43
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -51,37 +51,37 @@ module Google
|
|
51
51
|
#
|
52
52
|
# The JSON representation for `Value` is JSON value.
|
53
53
|
# @!attribute [rw] null_value
|
54
|
-
# @return [Google::Protobuf::NullValue]
|
54
|
+
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
56
|
# @!attribute [rw] number_value
|
57
|
-
# @return [Float]
|
57
|
+
# @return [::Float]
|
58
58
|
# Represents a double value.
|
59
59
|
# @!attribute [rw] string_value
|
60
|
-
# @return [String]
|
60
|
+
# @return [::String]
|
61
61
|
# Represents a string value.
|
62
62
|
# @!attribute [rw] bool_value
|
63
|
-
# @return [Boolean]
|
63
|
+
# @return [::Boolean]
|
64
64
|
# Represents a boolean value.
|
65
65
|
# @!attribute [rw] struct_value
|
66
|
-
# @return [Google::Protobuf::Struct]
|
66
|
+
# @return [::Google::Protobuf::Struct]
|
67
67
|
# Represents a structured value.
|
68
68
|
# @!attribute [rw] list_value
|
69
|
-
# @return [Google::Protobuf::ListValue]
|
69
|
+
# @return [::Google::Protobuf::ListValue]
|
70
70
|
# Represents a repeated `Value`.
|
71
71
|
class Value
|
72
|
-
include Google::Protobuf::MessageExts
|
73
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
74
|
end
|
75
75
|
|
76
76
|
# `ListValue` is a wrapper around a repeated field of values.
|
77
77
|
#
|
78
78
|
# The JSON representation for `ListValue` is JSON array.
|
79
79
|
# @!attribute [rw] values
|
80
|
-
# @return [Array
|
80
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
81
81
|
# Repeated field of dynamically typed values.
|
82
82
|
class ListValue
|
83
|
-
include Google::Protobuf::MessageExts
|
84
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
85
|
end
|
86
86
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
@@ -102,19 +102,19 @@ module Google
|
|
102
102
|
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
103
103
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
104
104
|
# @!attribute [rw] seconds
|
105
|
-
# @return [Integer]
|
105
|
+
# @return [::Integer]
|
106
106
|
# Represents seconds of UTC time since Unix epoch
|
107
107
|
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
108
108
|
# 9999-12-31T23:59:59Z inclusive.
|
109
109
|
# @!attribute [rw] nanos
|
110
|
-
# @return [Integer]
|
110
|
+
# @return [::Integer]
|
111
111
|
# Non-negative fractions of a second at nanosecond resolution. Negative
|
112
112
|
# second values with fractions must still have non-negative nanos values
|
113
113
|
# that count forward in time. Must be from 0 to 999,999,999
|
114
114
|
# inclusive.
|
115
115
|
class Timestamp
|
116
|
-
include Google::Protobuf::MessageExts
|
117
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
118
|
end
|
119
119
|
end
|
120
120
|
end
|
@@ -27,20 +27,20 @@ module Google
|
|
27
27
|
# You can find out more about this error model and how to work with it in the
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
|
-
# @return [Integer]
|
30
|
+
# @return [::Integer]
|
31
31
|
# The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
32
32
|
# @!attribute [rw] message
|
33
|
-
# @return [String]
|
33
|
+
# @return [::String]
|
34
34
|
# A developer-facing error message, which should be in English. Any
|
35
35
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
|
36
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
|
37
37
|
# @!attribute [rw] details
|
38
|
-
# @return [Array
|
38
|
+
# @return [::Array<::Google::Protobuf::Any>]
|
39
39
|
# A list of messages that carry the error details. There is a common set of
|
40
40
|
# message types for APIs to use.
|
41
41
|
class Status
|
42
|
-
include Google::Protobuf::MessageExts
|
43
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -25,28 +25,28 @@ module Google
|
|
25
25
|
# description: "Determines whether the request has a user account"
|
26
26
|
# expression: "size(request.user) > 0"
|
27
27
|
# @!attribute [rw] expression
|
28
|
-
# @return [String]
|
28
|
+
# @return [::String]
|
29
29
|
# Textual representation of an expression in
|
30
30
|
# Common Expression Language syntax.
|
31
31
|
#
|
32
32
|
# The application context of the containing message determines which
|
33
33
|
# well-known feature set of CEL is supported.
|
34
34
|
# @!attribute [rw] title
|
35
|
-
# @return [String]
|
35
|
+
# @return [::String]
|
36
36
|
# An optional title for the expression, i.e. a short string describing
|
37
37
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
38
38
|
# expression.
|
39
39
|
# @!attribute [rw] description
|
40
|
-
# @return [String]
|
40
|
+
# @return [::String]
|
41
41
|
# An optional description of the expression. This is a longer text which
|
42
42
|
# describes the expression, e.g. when hovered over it in a UI.
|
43
43
|
# @!attribute [rw] location
|
44
|
-
# @return [String]
|
44
|
+
# @return [::String]
|
45
45
|
# An optional string indicating the location of the expression for error
|
46
46
|
# reporting, e.g. a file name and a position in the file.
|
47
47
|
class Expr
|
48
|
-
include Google::Protobuf::MessageExts
|
49
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
include ::Google::Protobuf::MessageExts
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security_center-v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -78,14 +78,42 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '5.
|
81
|
+
version: '5.14'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '5.
|
88
|
+
version: '5.14'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: minitest-focus
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.1'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.1'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: minitest-rg
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '5.2'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '5.2'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
118
|
name: rake
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,7 +182,6 @@ files:
|
|
154
182
|
- LICENSE.md
|
155
183
|
- README.md
|
156
184
|
- lib/google-cloud-security_center-v1p1beta1.rb
|
157
|
-
- lib/google/cloud/common_resources_pb.rb
|
158
185
|
- lib/google/cloud/security_center/v1p1beta1.rb
|
159
186
|
- lib/google/cloud/security_center/v1p1beta1/security_center.rb
|
160
187
|
- lib/google/cloud/security_center/v1p1beta1/security_center/client.rb
|
@@ -167,6 +194,7 @@ files:
|
|
167
194
|
- lib/google/cloud/securitycenter/v1p1beta1/notification_config_pb.rb
|
168
195
|
- lib/google/cloud/securitycenter/v1p1beta1/notification_message_pb.rb
|
169
196
|
- lib/google/cloud/securitycenter/v1p1beta1/organization_settings_pb.rb
|
197
|
+
- lib/google/cloud/securitycenter/v1p1beta1/resource_pb.rb
|
170
198
|
- lib/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response_pb.rb
|
171
199
|
- lib/google/cloud/securitycenter/v1p1beta1/security_marks_pb.rb
|
172
200
|
- lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb
|
@@ -180,6 +208,7 @@ files:
|
|
180
208
|
- proto_docs/google/cloud/securitycenter/v1p1beta1/notification_config.rb
|
181
209
|
- proto_docs/google/cloud/securitycenter/v1p1beta1/notification_message.rb
|
182
210
|
- proto_docs/google/cloud/securitycenter/v1p1beta1/organization_settings.rb
|
211
|
+
- proto_docs/google/cloud/securitycenter/v1p1beta1/resource.rb
|
183
212
|
- proto_docs/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.rb
|
184
213
|
- proto_docs/google/cloud/securitycenter/v1p1beta1/security_marks.rb
|
185
214
|
- proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb
|
@@ -215,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
244
|
- !ruby/object:Gem::Version
|
216
245
|
version: '0'
|
217
246
|
requirements: []
|
218
|
-
rubygems_version: 3.
|
247
|
+
rubygems_version: 3.1.3
|
219
248
|
signing_key:
|
220
249
|
specification_version: 4
|
221
250
|
summary: API Client library for the Cloud Security Command Center V1p1beta1 API
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/common_resources.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/api/resource_pb'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
module Google
|
13
|
-
module Cloud
|
14
|
-
end
|
15
|
-
end
|