google-apis-securitycenter_v1beta1 0.2.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/CHANGELOG.md +5 -0
- data/lib/google/apis/securitycenter_v1beta1.rb +1 -1
- data/lib/google/apis/securitycenter_v1beta1/classes.rb +48 -2
- data/lib/google/apis/securitycenter_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1beta1/representations.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f46045623837cd89fccf5924200b76ecf2d4aeb84da3639e574c28a2e731b9c2
|
|
4
|
+
data.tar.gz: a2d3dd66ff5efc555cef48578646ee7abbc91219a0d49845f991c573f09b8188
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ebd1ca1d0c100a7eb3bfc383bbbd5de85c786d375c222d73b38de56f1a18cd2a2c4904a2fd46073a5fa022c9707db7f61ee0197ae9b758535a6b0c1dbae8561
|
|
7
|
+
data.tar.gz: afa8428e184702acdcb3eae4a2bc429d5efba9ea609fc51b5160c65e3779cec40467d85a6671bfcb63e777622c2b9f10616db23d92ebaf92d3acc72c1179ca8b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.3.0 (2021-03-30)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20210326
|
|
6
|
+
* Regenerated using generator version 0.2.0
|
|
7
|
+
|
|
3
8
|
### v0.2.0 (2021-03-04)
|
|
4
9
|
|
|
5
10
|
* Regenerated using generator version 0.1.2
|
|
@@ -30,7 +30,7 @@ module Google
|
|
|
30
30
|
# This is NOT the gem version.
|
|
31
31
|
VERSION = 'V1beta1'
|
|
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
|
|
@@ -342,6 +342,15 @@ module Google
|
|
|
342
342
|
class Finding
|
|
343
343
|
include Google::Apis::Core::Hashable
|
|
344
344
|
|
|
345
|
+
# The canonical name of the finding. It's either "organizations/`organization_id`
|
|
346
|
+
# /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
|
|
347
|
+
# source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
|
|
348
|
+
# source_id`/findings/`finding_id`", depending on the closest CRM ancestor of
|
|
349
|
+
# the resource associated with the finding.
|
|
350
|
+
# Corresponds to the JSON property `canonicalName`
|
|
351
|
+
# @return [String]
|
|
352
|
+
attr_accessor :canonical_name
|
|
353
|
+
|
|
345
354
|
# The additional taxonomy group within findings from a given source. This field
|
|
346
355
|
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
347
356
|
# Corresponds to the JSON property `category`
|
|
@@ -357,7 +366,8 @@ module Google
|
|
|
357
366
|
# occurred. For example, if the finding represents an open firewall it would
|
|
358
367
|
# capture the time the detector believes the firewall became open. The accuracy
|
|
359
368
|
# is determined by the detector. If the finding were to be resolved afterward,
|
|
360
|
-
# this time would reflect when the finding was resolved.
|
|
369
|
+
# this time would reflect when the finding was resolved. Must not be set to a
|
|
370
|
+
# value greater than the current timestamp.
|
|
361
371
|
# Corresponds to the JSON property `eventTime`
|
|
362
372
|
# @return [String]
|
|
363
373
|
attr_accessor :event_time
|
|
@@ -426,6 +436,7 @@ module Google
|
|
|
426
436
|
|
|
427
437
|
# Update properties of this object
|
|
428
438
|
def update!(**args)
|
|
439
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
|
429
440
|
@category = args[:category] if args.key?(:category)
|
|
430
441
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
431
442
|
@event_time = args[:event_time] if args.key?(:event_time)
|
|
@@ -787,6 +798,15 @@ module Google
|
|
|
787
798
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
788
799
|
include Google::Apis::Core::Hashable
|
|
789
800
|
|
|
801
|
+
# The canonical name of the finding. It's either "organizations/`organization_id`
|
|
802
|
+
# /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
|
|
803
|
+
# source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
|
|
804
|
+
# source_id`/findings/`finding_id`", depending on the closest CRM ancestor of
|
|
805
|
+
# the resource associated with the finding.
|
|
806
|
+
# Corresponds to the JSON property `canonicalName`
|
|
807
|
+
# @return [String]
|
|
808
|
+
attr_accessor :canonical_name
|
|
809
|
+
|
|
790
810
|
# The additional taxonomy group within findings from a given source. This field
|
|
791
811
|
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
792
812
|
# Corresponds to the JSON property `category`
|
|
@@ -802,7 +822,8 @@ module Google
|
|
|
802
822
|
# occurred. For example, if the finding represents an open firewall it would
|
|
803
823
|
# capture the time the detector believes the firewall became open. The accuracy
|
|
804
824
|
# is determined by the detector. If the finding were to be resolved afterward,
|
|
805
|
-
# this time would reflect when the finding was resolved.
|
|
825
|
+
# this time would reflect when the finding was resolved. Must not be set to a
|
|
826
|
+
# value greater than the current timestamp.
|
|
806
827
|
# Corresponds to the JSON property `eventTime`
|
|
807
828
|
# @return [String]
|
|
808
829
|
attr_accessor :event_time
|
|
@@ -871,6 +892,7 @@ module Google
|
|
|
871
892
|
|
|
872
893
|
# Update properties of this object
|
|
873
894
|
def update!(**args)
|
|
895
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
|
874
896
|
@category = args[:category] if args.key?(:category)
|
|
875
897
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
876
898
|
@event_time = args[:event_time] if args.key?(:event_time)
|
|
@@ -1029,6 +1051,17 @@ module Google
|
|
|
1029
1051
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
1030
1052
|
include Google::Apis::Core::Hashable
|
|
1031
1053
|
|
|
1054
|
+
# The canonical name of the marks. Examples: "organizations/`organization_id`/
|
|
1055
|
+
# assets/`asset_id`/securityMarks" "folders/`folder_id`/assets/`asset_id`/
|
|
1056
|
+
# securityMarks" "projects/`project_number`/assets/`asset_id`/securityMarks" "
|
|
1057
|
+
# organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
1058
|
+
# securityMarks" "folders/`folder_id`/sources/`source_id`/findings/`finding_id`/
|
|
1059
|
+
# securityMarks" "projects/`project_number`/sources/`source_id`/findings/`
|
|
1060
|
+
# finding_id`/securityMarks"
|
|
1061
|
+
# Corresponds to the JSON property `canonicalName`
|
|
1062
|
+
# @return [String]
|
|
1063
|
+
attr_accessor :canonical_name
|
|
1064
|
+
|
|
1032
1065
|
# Mutable user specified security marks belonging to the parent resource.
|
|
1033
1066
|
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
1034
1067
|
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
@@ -1052,6 +1085,7 @@ module Google
|
|
|
1052
1085
|
|
|
1053
1086
|
# Update properties of this object
|
|
1054
1087
|
def update!(**args)
|
|
1088
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
|
1055
1089
|
@marks = args[:marks] if args.key?(:marks)
|
|
1056
1090
|
@name = args[:name] if args.key?(:name)
|
|
1057
1091
|
end
|
|
@@ -1711,6 +1745,17 @@ module Google
|
|
|
1711
1745
|
class SecurityMarks
|
|
1712
1746
|
include Google::Apis::Core::Hashable
|
|
1713
1747
|
|
|
1748
|
+
# The canonical name of the marks. Examples: "organizations/`organization_id`/
|
|
1749
|
+
# assets/`asset_id`/securityMarks" "folders/`folder_id`/assets/`asset_id`/
|
|
1750
|
+
# securityMarks" "projects/`project_number`/assets/`asset_id`/securityMarks" "
|
|
1751
|
+
# organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
1752
|
+
# securityMarks" "folders/`folder_id`/sources/`source_id`/findings/`finding_id`/
|
|
1753
|
+
# securityMarks" "projects/`project_number`/sources/`source_id`/findings/`
|
|
1754
|
+
# finding_id`/securityMarks"
|
|
1755
|
+
# Corresponds to the JSON property `canonicalName`
|
|
1756
|
+
# @return [String]
|
|
1757
|
+
attr_accessor :canonical_name
|
|
1758
|
+
|
|
1714
1759
|
# Mutable user specified security marks belonging to the parent resource.
|
|
1715
1760
|
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
1716
1761
|
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
@@ -1734,6 +1779,7 @@ module Google
|
|
|
1734
1779
|
|
|
1735
1780
|
# Update properties of this object
|
|
1736
1781
|
def update!(**args)
|
|
1782
|
+
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
|
1737
1783
|
@marks = args[:marks] if args.key?(:marks)
|
|
1738
1784
|
@name = args[:name] if args.key?(:name)
|
|
1739
1785
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module SecuritycenterV1beta1
|
|
18
18
|
# Version of the google-apis-securitycenter_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.3.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210326"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -372,6 +372,7 @@ module Google
|
|
|
372
372
|
class Finding
|
|
373
373
|
# @private
|
|
374
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
375
|
+
property :canonical_name, as: 'canonicalName'
|
|
375
376
|
property :category, as: 'category'
|
|
376
377
|
property :create_time, as: 'createTime'
|
|
377
378
|
property :event_time, as: 'eventTime'
|
|
@@ -478,6 +479,7 @@ module Google
|
|
|
478
479
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
479
480
|
# @private
|
|
480
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
482
|
+
property :canonical_name, as: 'canonicalName'
|
|
481
483
|
property :category, as: 'category'
|
|
482
484
|
property :create_time, as: 'createTime'
|
|
483
485
|
property :event_time, as: 'eventTime'
|
|
@@ -536,6 +538,7 @@ module Google
|
|
|
536
538
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
537
539
|
# @private
|
|
538
540
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
541
|
+
property :canonical_name, as: 'canonicalName'
|
|
539
542
|
hash :marks, as: 'marks'
|
|
540
543
|
property :name, as: 'name'
|
|
541
544
|
end
|
|
@@ -695,6 +698,7 @@ module Google
|
|
|
695
698
|
class SecurityMarks
|
|
696
699
|
# @private
|
|
697
700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
701
|
+
property :canonical_name, as: 'canonicalName'
|
|
698
702
|
hash :marks, as: 'marks'
|
|
699
703
|
property :name, as: 'name'
|
|
700
704
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-securitycenter_v1beta1
|
|
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: 2021-
|
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -52,7 +52,7 @@ licenses:
|
|
|
52
52
|
metadata:
|
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta1/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.3.0
|
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta1
|
|
57
57
|
post_install_message:
|
|
58
58
|
rdoc_options: []
|