google-apis-securitycenter_v1 0.3.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03c610e2678d099c3f27b7915bb3571abae6a537cb1fb8f0ec32f06fc06a51c2
4
- data.tar.gz: eef978f07b409cf97cc492d8df43c72573692d1eab63baae474d3dbc933e80c4
3
+ metadata.gz: b88e407346b50f4835e91f60f5e7b184ca135843a1ee5502cc129c0ad332fb23
4
+ data.tar.gz: 18c96cea8542bf88cdcc22531fb524542059b550eab4a19040640eb33e58cad7
5
5
  SHA512:
6
- metadata.gz: 00b6639dd2ebcf98360596c9cad22a82a19b843922476661fecaf43717aca580468279f460b7f5b460c988ee657a737fad98f8a50acef04b5191bafcb884d67e
7
- data.tar.gz: 98efb2725216a5731f3eeac0b43667321f5e04aaf51d469ce310c2bd349861b67a55e4e7a58b77a2836e1b55ff5451e91eeb2a4375ae17a9e6a67977f5b48137
6
+ metadata.gz: 887a6ef5a962ef0341cbd559ea1431cb8064e9b2a78b56a31438940b6dac84899db7ae0d64291ee0c647b559972b63feccb532e61de1870f12b6a239bdd2895f
7
+ data.tar.gz: ce9a53a9c580a9170b33f3902b46821163caab51353dd80469f46e2b15d08e9a63b99167b42d60fbf4f62909b544d3eec4401c090806187198ec6e9450647bfd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.4.0 (2021-03-30)
4
+
5
+ * Regenerated from discovery document revision 20210326
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.3.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -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]
@@ -80,6 +88,7 @@ module Google
80
88
 
81
89
  # Update properties of this object
82
90
  def update!(**args)
91
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
83
92
  @create_time = args[:create_time] if args.key?(:create_time)
84
93
  @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
85
94
  @name = args[:name] if args.key?(:name)
@@ -343,6 +352,15 @@ module Google
343
352
  class Finding
344
353
  include Google::Apis::Core::Hashable
345
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
+
346
364
  # The additional taxonomy group within findings from a given source. This field
347
365
  # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
348
366
  # Corresponds to the JSON property `category`
@@ -358,7 +376,8 @@ module Google
358
376
  # occurred. For example, if the finding represents an open firewall it would
359
377
  # capture the time the detector believes the firewall became open. The accuracy
360
378
  # is determined by the detector. If the finding were to be resolved afterward,
361
- # 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.
362
381
  # Corresponds to the JSON property `eventTime`
363
382
  # @return [String]
364
383
  attr_accessor :event_time
@@ -427,6 +446,7 @@ module Google
427
446
 
428
447
  # Update properties of this object
429
448
  def update!(**args)
449
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
430
450
  @category = args[:category] if args.key?(:category)
431
451
  @create_time = args[:create_time] if args.key?(:create_time)
432
452
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -655,6 +675,15 @@ module Google
655
675
  class GoogleCloudSecuritycenterV1p1beta1Finding
656
676
  include Google::Apis::Core::Hashable
657
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
+
658
687
  # The additional taxonomy group within findings from a given source. This field
659
688
  # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
660
689
  # Corresponds to the JSON property `category`
@@ -670,7 +699,8 @@ module Google
670
699
  # occurred. For example, if the finding represents an open firewall it would
671
700
  # capture the time the detector believes the firewall became open. The accuracy
672
701
  # is determined by the detector. If the finding were to be resolved afterward,
673
- # 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.
674
704
  # Corresponds to the JSON property `eventTime`
675
705
  # @return [String]
676
706
  attr_accessor :event_time
@@ -739,6 +769,7 @@ module Google
739
769
 
740
770
  # Update properties of this object
741
771
  def update!(**args)
772
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
742
773
  @category = args[:category] if args.key?(:category)
743
774
  @create_time = args[:create_time] if args.key?(:create_time)
744
775
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -897,6 +928,17 @@ module Google
897
928
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
898
929
  include Google::Apis::Core::Hashable
899
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
+
900
942
  # Mutable user specified security marks belonging to the parent resource.
901
943
  # Constraints are as follows: * Keys and values are treated as case insensitive *
902
944
  # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
@@ -920,6 +962,7 @@ module Google
920
962
 
921
963
  # Update properties of this object
922
964
  def update!(**args)
965
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
923
966
  @marks = args[:marks] if args.key?(:marks)
924
967
  @name = args[:name] if args.key?(:name)
925
968
  end
@@ -1867,6 +1910,17 @@ module Google
1867
1910
  class SecurityMarks
1868
1911
  include Google::Apis::Core::Hashable
1869
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
+
1870
1924
  # Mutable user specified security marks belonging to the parent resource.
1871
1925
  # Constraints are as follows: * Keys and values are treated as case insensitive *
1872
1926
  # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
@@ -1890,6 +1944,7 @@ module Google
1890
1944
 
1891
1945
  # Update properties of this object
1892
1946
  def update!(**args)
1947
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
1893
1948
  @marks = args[:marks] if args.key?(:marks)
1894
1949
  @name = args[:name] if args.key?(:name)
1895
1950
  end
@@ -1979,6 +2034,14 @@ module Google
1979
2034
  class Source
1980
2035
  include Google::Apis::Core::Hashable
1981
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
+
1982
2045
  # The description of the source (max of 1024 characters). Example: "Web Security
1983
2046
  # Scanner is a web security scanner for common vulnerabilities in App Engine
1984
2047
  # applications. It can automatically scan and detect four common vulnerabilities,
@@ -2009,6 +2072,7 @@ module Google
2009
2072
 
2010
2073
  # Update properties of this object
2011
2074
  def update!(**args)
2075
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
2012
2076
  @description = args[:description] if args.key?(:description)
2013
2077
  @display_name = args[:display_name] if args.key?(:display_name)
2014
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.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210212"
25
+ REVISION = "20210326"
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.3.0
4
+ version: 0.4.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-03-08 00:00:00.000000000 Z
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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.4.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: []