google-apis-securitycenter_v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12cedc596b21c5731747f31779e804ececabfbab02f3a5042cb505409dfa57d6
4
- data.tar.gz: 2de273d95659e9240a7143f1c77afb2f0cf6b1a085d5d3c37439a168b65d88e6
3
+ metadata.gz: 4876053aba8426447ef627840e15621c4edd163be6383a7ad53845e55dd5cbcb
4
+ data.tar.gz: ff256d2405cfe45966a88101df7b0edbc665e092ea0957957cb0dc6f1e380be0
5
5
  SHA512:
6
- metadata.gz: 51b265f98a365aab259e4c7db3198007af10684abb646b02e30adbb2d3ca401d992dae047f5eaf95421747316cfe556fe62d0e4dd7e853d38c1ae5d23aa33a3a
7
- data.tar.gz: d51eb95c3879198d76c545983fa4fe7414084bc25d7e08c9ac453ba7d2dede5e7083402d81bf909dab83061d9c49c8a703d59105c42e9a6164329bbffa27c2cf
6
+ metadata.gz: b257662933080c4137065ed6ed267e063436d0db6093b411d1ab3fe2e46437cb6f7c8a50f20f9f1bcc956ffb28e77d670dce2840845af55bb3b6ed370f305336
7
+ data.tar.gz: 26e6e2568b5e15f451f7b95c482f3963d4e18076f45af531b55a4775da2ad2c1d1f4d6bcf9b697431bda77f8d06ee5674f6f1e38b8b499c906e31f3650f41ef1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.6.0 (2021-05-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-04-27)
8
+
9
+ * Regenerated from discovery document revision 20210422
10
+
11
+ ### v0.4.0 (2021-03-30)
12
+
13
+ * Regenerated from discovery document revision 20210326
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.3.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.2.0 (2021-02-17)
21
+
22
+ * Regenerated from discovery document revision 20210212
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 = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
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
@@ -30,6 +30,14 @@ module Google
30
30
  class Asset
31
31
  include Google::Apis::Core::Hashable
32
32
 
33
+ # The canonical name of the resource. It's either "organizations/`
34
+ # organization_id`/assets/`asset_id`", "folders/`folder_id`/assets/`asset_id`"
35
+ # or "projects/`project_number`/assets/`asset_id`", depending on the closest CRM
36
+ # ancestor of the resource.
37
+ # Corresponds to the JSON property `canonicalName`
38
+ # @return [String]
39
+ attr_accessor :canonical_name
40
+
33
41
  # The time at which the asset was created in Security Command Center.
34
42
  # Corresponds to the JSON property `createTime`
35
43
  # @return [String]
@@ -69,8 +77,7 @@ module Google
69
77
  # @return [Google::Apis::SecuritycenterV1::SecurityMarks]
70
78
  attr_accessor :security_marks
71
79
 
72
- # The time at which the asset was last updated, added, or deleted in Security
73
- # Command Center.
80
+ # The time at which the asset was last updated or added in Cloud SCC.
74
81
  # Corresponds to the JSON property `updateTime`
75
82
  # @return [String]
76
83
  attr_accessor :update_time
@@ -81,6 +88,7 @@ module Google
81
88
 
82
89
  # Update properties of this object
83
90
  def update!(**args)
91
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
84
92
  @create_time = args[:create_time] if args.key?(:create_time)
85
93
  @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
86
94
  @name = args[:name] if args.key?(:name)
@@ -344,6 +352,15 @@ module Google
344
352
  class Finding
345
353
  include Google::Apis::Core::Hashable
346
354
 
355
+ # The canonical name of the finding. It's either "organizations/`organization_id`
356
+ # /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
357
+ # source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
358
+ # source_id`/findings/`finding_id`", depending on the closest CRM ancestor of
359
+ # the resource associated with the finding.
360
+ # Corresponds to the JSON property `canonicalName`
361
+ # @return [String]
362
+ attr_accessor :canonical_name
363
+
347
364
  # The additional taxonomy group within findings from a given source. This field
348
365
  # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
349
366
  # Corresponds to the JSON property `category`
@@ -359,7 +376,8 @@ module Google
359
376
  # occurred. For example, if the finding represents an open firewall it would
360
377
  # capture the time the detector believes the firewall became open. The accuracy
361
378
  # is determined by the detector. If the finding were to be resolved afterward,
362
- # this time would reflect when the finding was resolved.
379
+ # this time would reflect when the finding was resolved. Must not be set to a
380
+ # value greater than the current timestamp.
363
381
  # Corresponds to the JSON property `eventTime`
364
382
  # @return [String]
365
383
  attr_accessor :event_time
@@ -428,6 +446,7 @@ module Google
428
446
 
429
447
  # Update properties of this object
430
448
  def update!(**args)
449
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
431
450
  @category = args[:category] if args.key?(:category)
432
451
  @create_time = args[:create_time] if args.key?(:create_time)
433
452
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -656,6 +675,15 @@ module Google
656
675
  class GoogleCloudSecuritycenterV1p1beta1Finding
657
676
  include Google::Apis::Core::Hashable
658
677
 
678
+ # The canonical name of the finding. It's either "organizations/`organization_id`
679
+ # /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
680
+ # source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
681
+ # source_id`/findings/`finding_id`", depending on the closest CRM ancestor of
682
+ # the resource associated with the finding.
683
+ # Corresponds to the JSON property `canonicalName`
684
+ # @return [String]
685
+ attr_accessor :canonical_name
686
+
659
687
  # The additional taxonomy group within findings from a given source. This field
660
688
  # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
661
689
  # Corresponds to the JSON property `category`
@@ -671,7 +699,8 @@ module Google
671
699
  # occurred. For example, if the finding represents an open firewall it would
672
700
  # capture the time the detector believes the firewall became open. The accuracy
673
701
  # is determined by the detector. If the finding were to be resolved afterward,
674
- # this time would reflect when the finding was resolved.
702
+ # this time would reflect when the finding was resolved. Must not be set to a
703
+ # value greater than the current timestamp.
675
704
  # Corresponds to the JSON property `eventTime`
676
705
  # @return [String]
677
706
  attr_accessor :event_time
@@ -740,6 +769,7 @@ module Google
740
769
 
741
770
  # Update properties of this object
742
771
  def update!(**args)
772
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
743
773
  @category = args[:category] if args.key?(:category)
744
774
  @create_time = args[:create_time] if args.key?(:create_time)
745
775
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -898,6 +928,17 @@ module Google
898
928
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
899
929
  include Google::Apis::Core::Hashable
900
930
 
931
+ # The canonical name of the marks. Examples: "organizations/`organization_id`/
932
+ # assets/`asset_id`/securityMarks" "folders/`folder_id`/assets/`asset_id`/
933
+ # securityMarks" "projects/`project_number`/assets/`asset_id`/securityMarks" "
934
+ # organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
935
+ # securityMarks" "folders/`folder_id`/sources/`source_id`/findings/`finding_id`/
936
+ # securityMarks" "projects/`project_number`/sources/`source_id`/findings/`
937
+ # finding_id`/securityMarks"
938
+ # Corresponds to the JSON property `canonicalName`
939
+ # @return [String]
940
+ attr_accessor :canonical_name
941
+
901
942
  # Mutable user specified security marks belonging to the parent resource.
902
943
  # Constraints are as follows: * Keys and values are treated as case insensitive *
903
944
  # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
@@ -921,6 +962,7 @@ module Google
921
962
 
922
963
  # Update properties of this object
923
964
  def update!(**args)
965
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
924
966
  @marks = args[:marks] if args.key?(:marks)
925
967
  @name = args[:name] if args.key?(:name)
926
968
  end
@@ -1381,7 +1423,7 @@ module Google
1381
1423
  attr_accessor :finding
1382
1424
 
1383
1425
  # Information related to the Google Cloud resource that is associated with this
1384
- # finding. LINT.IfChange
1426
+ # finding.
1385
1427
  # Corresponds to the JSON property `resource`
1386
1428
  # @return [Google::Apis::SecuritycenterV1::Resource]
1387
1429
  attr_accessor :resource
@@ -1720,7 +1762,7 @@ module Google
1720
1762
  end
1721
1763
 
1722
1764
  # Information related to the Google Cloud resource that is associated with this
1723
- # finding. LINT.IfChange
1765
+ # finding.
1724
1766
  class Resource
1725
1767
  include Google::Apis::Core::Hashable
1726
1768
 
@@ -1868,6 +1910,17 @@ module Google
1868
1910
  class SecurityMarks
1869
1911
  include Google::Apis::Core::Hashable
1870
1912
 
1913
+ # The canonical name of the marks. Examples: "organizations/`organization_id`/
1914
+ # assets/`asset_id`/securityMarks" "folders/`folder_id`/assets/`asset_id`/
1915
+ # securityMarks" "projects/`project_number`/assets/`asset_id`/securityMarks" "
1916
+ # organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1917
+ # securityMarks" "folders/`folder_id`/sources/`source_id`/findings/`finding_id`/
1918
+ # securityMarks" "projects/`project_number`/sources/`source_id`/findings/`
1919
+ # finding_id`/securityMarks"
1920
+ # Corresponds to the JSON property `canonicalName`
1921
+ # @return [String]
1922
+ attr_accessor :canonical_name
1923
+
1871
1924
  # Mutable user specified security marks belonging to the parent resource.
1872
1925
  # Constraints are as follows: * Keys and values are treated as case insensitive *
1873
1926
  # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
@@ -1891,6 +1944,7 @@ module Google
1891
1944
 
1892
1945
  # Update properties of this object
1893
1946
  def update!(**args)
1947
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
1894
1948
  @marks = args[:marks] if args.key?(:marks)
1895
1949
  @name = args[:name] if args.key?(:name)
1896
1950
  end
@@ -1980,6 +2034,14 @@ module Google
1980
2034
  class Source
1981
2035
  include Google::Apis::Core::Hashable
1982
2036
 
2037
+ # The canonical name of the finding. It's either "organizations/`organization_id`
2038
+ # /sources/`source_id`", "folders/`folder_id`/sources/`source_id`" or "projects/`
2039
+ # project_number`/sources/`source_id`", depending on the closest CRM ancestor of
2040
+ # the resource associated with the finding.
2041
+ # Corresponds to the JSON property `canonicalName`
2042
+ # @return [String]
2043
+ attr_accessor :canonical_name
2044
+
1983
2045
  # The description of the source (max of 1024 characters). Example: "Web Security
1984
2046
  # Scanner is a web security scanner for common vulnerabilities in App Engine
1985
2047
  # applications. It can automatically scan and detect four common vulnerabilities,
@@ -2010,6 +2072,7 @@ module Google
2010
2072
 
2011
2073
  # Update properties of this object
2012
2074
  def update!(**args)
2075
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
2013
2076
  @description = args[:description] if args.key?(:description)
2014
2077
  @display_name = args[:display_name] if args.key?(:display_name)
2015
2078
  @name = args[:name] if args.key?(:name)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.1.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.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201231"
25
+ REVISION = "20210422"
26
26
  end
27
27
  end
28
28
  end
@@ -319,6 +319,7 @@ module Google
319
319
  class Asset
320
320
  # @private
321
321
  class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :canonical_name, as: 'canonicalName'
322
323
  property :create_time, as: 'createTime'
323
324
  property :iam_policy, as: 'iamPolicy', class: Google::Apis::SecuritycenterV1::IamPolicy, decorator: Google::Apis::SecuritycenterV1::IamPolicy::Representation
324
325
 
@@ -387,6 +388,7 @@ module Google
387
388
  class Finding
388
389
  # @private
389
390
  class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :canonical_name, as: 'canonicalName'
390
392
  property :category, as: 'category'
391
393
  property :create_time, as: 'createTime'
392
394
  property :event_time, as: 'eventTime'
@@ -468,6 +470,7 @@ module Google
468
470
  class GoogleCloudSecuritycenterV1p1beta1Finding
469
471
  # @private
470
472
  class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :canonical_name, as: 'canonicalName'
471
474
  property :category, as: 'category'
472
475
  property :create_time, as: 'createTime'
473
476
  property :event_time, as: 'eventTime'
@@ -526,6 +529,7 @@ module Google
526
529
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
527
530
  # @private
528
531
  class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :canonical_name, as: 'canonicalName'
529
533
  hash :marks, as: 'marks'
530
534
  property :name, as: 'name'
531
535
  end
@@ -745,6 +749,7 @@ module Google
745
749
  class SecurityMarks
746
750
  # @private
747
751
  class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :canonical_name, as: 'canonicalName'
748
753
  hash :marks, as: 'marks'
749
754
  property :name, as: 'name'
750
755
  end
@@ -770,6 +775,7 @@ module Google
770
775
  class Source
771
776
  # @private
772
777
  class Representation < Google::Apis::Core::JsonRepresentation
778
+ property :canonical_name, as: 'canonicalName'
773
779
  property :description, as: 'description'
774
780
  property :display_name, as: 'displayName'
775
781
  property :name, as: 'name'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Security Command Center API V1