google-apis-securitycenter_v1beta2 0.2.0 → 0.3.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: f5ae93b4faff57afbae696126696fae6162187f2684b376cf231158facf34de4
4
- data.tar.gz: c5eb04c830da15b335322c495d552dbc60359e9cf8bca6939c24408d2daa5670
3
+ metadata.gz: 9ab56556c211b9e9d38740d6c3b394ac5059570088377498f2ed441de5d0ebb4
4
+ data.tar.gz: 5fb43ab879b460bdfee3e3e67315c84ab91bc5400a1683027a146f6ff1f36901
5
5
  SHA512:
6
- metadata.gz: f339af5217db95614d94b71a5b85237bfaf0bdf8ef398e9d9137691f074d83c78a9911e4ce2ca597224ae26c3b5dd7364aea1a39902cc3a767464e8b1c61c80d
7
- data.tar.gz: e4e722df6e9bd978d1fd70435892abdb4b224af551670b416664e3f31ee2820ccf7800f73291b1ba3f0828cac91cfed4e4b7a5b4ab99221e4918759381a8b914
6
+ metadata.gz: 191a26317e334c681529a1f3cf6b1a20a19dcdaf0cfe8f404a2fca50a3734eef63f00edb14639e10e11fbc865868ab89db09b2fa95bf19ceb6c2f9be55f96d18
7
+ data.tar.gz: 6f237e25dd806bd98d608252871055708cd5255982c69b5991b08b5c8c443db293bd077044fb4f1a64d186e304fca32960d2ccc17182a904559cbfc7277f3a9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
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 = 'V1beta2'
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
@@ -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.2.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.1.2"
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 = "20210326"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.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-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_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-securitycenter_v1beta2
57
57
  post_install_message:
58
58
  rdoc_options: []