google-apis-securitycenter_v1beta2 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/securitycenter_v1beta2.rb +1 -1
- data/lib/google/apis/securitycenter_v1beta2/classes.rb +48 -2
- data/lib/google/apis/securitycenter_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1beta2/representations.rb +4 -0
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d538b8779a330129b8b6c60bc71bc3d6fe60a33ad7cd5bcbdb29acd66b5cc48e
|
4
|
+
data.tar.gz: f3133d44f803d2cc3853d3a6015b8b9332738510ac34deb45dd96400357d71dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dfb486b835ca21b8aa3c711433a4ac8e1dc890f84e1bfb5b248deae68e442e5ed3eea0c4f4c93e19e7a92f9c354299ef637cfe9a9693da664681c1a62ac0195
|
7
|
+
data.tar.gz: 790eeb184381aa1ceee570491be185ad18c94936977f315d3bc69239f1649ac8c60dfcd36aea8c28fec478575794eb9103608c4f9747ab68722be779f75cc39e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.6.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.5.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210527
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-05-20)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-30)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210326
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.2.0 (2021-03-04)
|
22
|
+
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20201231
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta2'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -181,6 +181,15 @@ module Google
|
|
181
181
|
class Finding
|
182
182
|
include Google::Apis::Core::Hashable
|
183
183
|
|
184
|
+
# The canonical name of the finding. It's either "organizations/`organization_id`
|
185
|
+
# /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
|
186
|
+
# source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
|
187
|
+
# source_id`/findings/`finding_id`", depending on the closest CRM ancestor of
|
188
|
+
# the resource associated with the finding.
|
189
|
+
# Corresponds to the JSON property `canonicalName`
|
190
|
+
# @return [String]
|
191
|
+
attr_accessor :canonical_name
|
192
|
+
|
184
193
|
# The additional taxonomy group within findings from a given source. This field
|
185
194
|
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
186
195
|
# Corresponds to the JSON property `category`
|
@@ -196,7 +205,8 @@ module Google
|
|
196
205
|
# occurred. For example, if the finding represents an open firewall it would
|
197
206
|
# capture the time the detector believes the firewall became open. The accuracy
|
198
207
|
# is determined by the detector. If the finding were to be resolved afterward,
|
199
|
-
# this time would reflect when the finding was resolved.
|
208
|
+
# this time would reflect when the finding was resolved. Must not be set to a
|
209
|
+
# value greater than the current timestamp.
|
200
210
|
# Corresponds to the JSON property `eventTime`
|
201
211
|
# @return [String]
|
202
212
|
attr_accessor :event_time
|
@@ -265,6 +275,7 @@ module Google
|
|
265
275
|
|
266
276
|
# Update properties of this object
|
267
277
|
def update!(**args)
|
278
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
268
279
|
@category = args[:category] if args.key?(:category)
|
269
280
|
@create_time = args[:create_time] if args.key?(:create_time)
|
270
281
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -449,6 +460,15 @@ module Google
|
|
449
460
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
450
461
|
include Google::Apis::Core::Hashable
|
451
462
|
|
463
|
+
# The canonical name of the finding. It's either "organizations/`organization_id`
|
464
|
+
# /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
|
465
|
+
# source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
|
466
|
+
# source_id`/findings/`finding_id`", depending on the closest CRM ancestor of
|
467
|
+
# the resource associated with the finding.
|
468
|
+
# Corresponds to the JSON property `canonicalName`
|
469
|
+
# @return [String]
|
470
|
+
attr_accessor :canonical_name
|
471
|
+
|
452
472
|
# The additional taxonomy group within findings from a given source. This field
|
453
473
|
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
454
474
|
# Corresponds to the JSON property `category`
|
@@ -464,7 +484,8 @@ module Google
|
|
464
484
|
# occurred. For example, if the finding represents an open firewall it would
|
465
485
|
# capture the time the detector believes the firewall became open. The accuracy
|
466
486
|
# is determined by the detector. If the finding were to be resolved afterward,
|
467
|
-
# this time would reflect when the finding was resolved.
|
487
|
+
# this time would reflect when the finding was resolved. Must not be set to a
|
488
|
+
# value greater than the current timestamp.
|
468
489
|
# Corresponds to the JSON property `eventTime`
|
469
490
|
# @return [String]
|
470
491
|
attr_accessor :event_time
|
@@ -533,6 +554,7 @@ module Google
|
|
533
554
|
|
534
555
|
# Update properties of this object
|
535
556
|
def update!(**args)
|
557
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
536
558
|
@category = args[:category] if args.key?(:category)
|
537
559
|
@create_time = args[:create_time] if args.key?(:create_time)
|
538
560
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -691,6 +713,17 @@ module Google
|
|
691
713
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
692
714
|
include Google::Apis::Core::Hashable
|
693
715
|
|
716
|
+
# The canonical name of the marks. Examples: "organizations/`organization_id`/
|
717
|
+
# assets/`asset_id`/securityMarks" "folders/`folder_id`/assets/`asset_id`/
|
718
|
+
# securityMarks" "projects/`project_number`/assets/`asset_id`/securityMarks" "
|
719
|
+
# organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
720
|
+
# securityMarks" "folders/`folder_id`/sources/`source_id`/findings/`finding_id`/
|
721
|
+
# securityMarks" "projects/`project_number`/sources/`source_id`/findings/`
|
722
|
+
# finding_id`/securityMarks"
|
723
|
+
# Corresponds to the JSON property `canonicalName`
|
724
|
+
# @return [String]
|
725
|
+
attr_accessor :canonical_name
|
726
|
+
|
694
727
|
# Mutable user specified security marks belonging to the parent resource.
|
695
728
|
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
696
729
|
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
@@ -714,6 +747,7 @@ module Google
|
|
714
747
|
|
715
748
|
# Update properties of this object
|
716
749
|
def update!(**args)
|
750
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
717
751
|
@marks = args[:marks] if args.key?(:marks)
|
718
752
|
@name = args[:name] if args.key?(:name)
|
719
753
|
end
|
@@ -812,6 +846,17 @@ module Google
|
|
812
846
|
class SecurityMarks
|
813
847
|
include Google::Apis::Core::Hashable
|
814
848
|
|
849
|
+
# The canonical name of the marks. Examples: "organizations/`organization_id`/
|
850
|
+
# assets/`asset_id`/securityMarks" "folders/`folder_id`/assets/`asset_id`/
|
851
|
+
# securityMarks" "projects/`project_number`/assets/`asset_id`/securityMarks" "
|
852
|
+
# organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
853
|
+
# securityMarks" "folders/`folder_id`/sources/`source_id`/findings/`finding_id`/
|
854
|
+
# securityMarks" "projects/`project_number`/sources/`source_id`/findings/`
|
855
|
+
# finding_id`/securityMarks"
|
856
|
+
# Corresponds to the JSON property `canonicalName`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :canonical_name
|
859
|
+
|
815
860
|
# Mutable user specified security marks belonging to the parent resource.
|
816
861
|
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
817
862
|
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
@@ -835,6 +880,7 @@ module Google
|
|
835
880
|
|
836
881
|
# Update properties of this object
|
837
882
|
def update!(**args)
|
883
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
838
884
|
@marks = args[:marks] if args.key?(:marks)
|
839
885
|
@name = args[:name] if args.key?(:name)
|
840
886
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210527"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -191,6 +191,7 @@ module Google
|
|
191
191
|
class Finding
|
192
192
|
# @private
|
193
193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
194
|
+
property :canonical_name, as: 'canonicalName'
|
194
195
|
property :category, as: 'category'
|
195
196
|
property :create_time, as: 'createTime'
|
196
197
|
property :event_time, as: 'eventTime'
|
@@ -257,6 +258,7 @@ module Google
|
|
257
258
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
258
259
|
# @private
|
259
260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
261
|
+
property :canonical_name, as: 'canonicalName'
|
260
262
|
property :category, as: 'category'
|
261
263
|
property :create_time, as: 'createTime'
|
262
264
|
property :event_time, as: 'eventTime'
|
@@ -315,6 +317,7 @@ module Google
|
|
315
317
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
316
318
|
# @private
|
317
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
+
property :canonical_name, as: 'canonicalName'
|
318
321
|
hash :marks, as: 'marks'
|
319
322
|
property :name, as: 'name'
|
320
323
|
end
|
@@ -344,6 +347,7 @@ module Google
|
|
344
347
|
class SecurityMarks
|
345
348
|
# @private
|
346
349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
property :canonical_name, as: 'canonicalName'
|
347
351
|
hash :marks, as: 'marks'
|
348
352
|
property :name, as: 'name'
|
349
353
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Security Command Center API V1beta2.
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.6.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Security Command Center API V1beta2
|