google-apis-securitycenter_v1beta2 0.13.0 → 0.16.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: 0362c072aadf4eb9bfe69b42acac98ce06e19612ff8afde45769226653b24424
4
- data.tar.gz: 854ab2a4369868e37b0963f2f3ad9dac6bd8e21aafa1310a1b505ca4f9bf3d03
3
+ metadata.gz: 7ec44f18edb08e272714dcf0695e20893c898adc88b7550fadf209154c28c7a0
4
+ data.tar.gz: 7a8edc0839b296c11407ba2967ea36590b7c53c1f3ce65089f7f76013339549f
5
5
  SHA512:
6
- metadata.gz: a4361dda66bbd417a3f7c2afd3285dd67d84f999ce4e12be1a22d386902e23108215a156465308c1fc1a2fbf96e1f41d32e2d0333d43067a02892433338c4e81
7
- data.tar.gz: 5dd0a3d4fb19b02d3aed78fa79b9c5e82d032b9fef5d1e1183d2a7b1eb378ccbf27fd534418a7cdbc69635d266dfd7698fbb887622898473f0e0393dcc3ac85f
6
+ metadata.gz: 7fc9e7b8cf109206985e0e5bbd84cd7fe618954246881a8349c160b52baf6342ff28895ec72324b82d124c414aa4fd4de80677efd76dceac571c365aa127e1fa
7
+ data.tar.gz: acbe316d9a636b7c26076bb5c73864c6377ab01ae033ec710c2e228b4b84fee7371c52a9e3746ba089007b920ad2a6922c6d2d0899d27974d8bbbc391c833427
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.16.0 (2022-02-23)
4
+
5
+ * Regenerated from discovery document revision 20220219
6
+
7
+ ### v0.15.0 (2022-02-15)
8
+
9
+ * Regenerated from discovery document revision 20220210
10
+
11
+ ### v0.14.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220127
14
+
3
15
  ### v0.13.0 (2022-01-19)
4
16
 
5
17
  * Regenerated from discovery document revision 20220113
@@ -172,6 +172,12 @@ module Google
172
172
  # @return [Array<Google::Apis::SecuritycenterV1beta2::Reference>]
173
173
  attr_accessor :references
174
174
 
175
+ # Whether upstream fix is available for the CVE.
176
+ # Corresponds to the JSON property `upstreamFixAvailable`
177
+ # @return [Boolean]
178
+ attr_accessor :upstream_fix_available
179
+ alias_method :upstream_fix_available?, :upstream_fix_available
180
+
175
181
  def initialize(**args)
176
182
  update!(**args)
177
183
  end
@@ -181,6 +187,7 @@ module Google
181
187
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
182
188
  @id = args[:id] if args.key?(:id)
183
189
  @references = args[:references] if args.key?(:references)
190
+ @upstream_fix_available = args[:upstream_fix_available] if args.key?(:upstream_fix_available)
184
191
  end
185
192
  end
186
193
 
@@ -410,14 +417,16 @@ module Google
410
417
  attr_accessor :mitre_attack
411
418
 
412
419
  # Indicates the mute state of a finding (either unspecified, muted, unmuted or
413
- # undefined).
420
+ # undefined). Unlike other attributes of a finding, a finding provider shouldn't
421
+ # set the value of mute.
414
422
  # Corresponds to the JSON property `mute`
415
423
  # @return [String]
416
424
  attr_accessor :mute
417
425
 
418
426
  # First known as mute_annotation. Records additional information about the mute
419
427
  # operation e.g. mute config that muted the finding, user who muted the finding,
420
- # etc.
428
+ # etc. Unlike other attributes of a finding, a finding provider shouldn't set
429
+ # the value of mute.
421
430
  # Corresponds to the JSON property `muteInitiator`
422
431
  # @return [String]
423
432
  attr_accessor :mute_initiator
@@ -558,6 +567,93 @@ module Google
558
567
  end
559
568
  end
560
569
 
570
+ # Configures how to deliver Findings to BigQuery Instance.
571
+ class GoogleCloudSecuritycenterV1BigQueryExport
572
+ include Google::Apis::Core::Hashable
573
+
574
+ # Output only. The time at which the big query export was created. This field is
575
+ # set by the server and will be ignored if provided on export on creation.
576
+ # Corresponds to the JSON property `createTime`
577
+ # @return [String]
578
+ attr_accessor :create_time
579
+
580
+ # The dataset to write findings' updates to. Its format is "projects/[project_id]
581
+ # /datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only
582
+ # letters (a-z, A-Z), numbers (0-9), or underscores (_).
583
+ # Corresponds to the JSON property `dataset`
584
+ # @return [String]
585
+ attr_accessor :dataset
586
+
587
+ # The description of the export (max of 1024 characters).
588
+ # Corresponds to the JSON property `description`
589
+ # @return [String]
590
+ attr_accessor :description
591
+
592
+ # Expression that defines the filter to apply across create/update events of
593
+ # findings. The expression is a list of zero or more restrictions combined via
594
+ # logical operators `AND` and `OR`. Parentheses are supported, and `OR` has
595
+ # higher precedence than `AND`. Restrictions have the form ` ` and may have a `-`
596
+ # character in front of them to indicate negation. The fields map to those
597
+ # defined in the corresponding resource. The supported operators are: * `=` for
598
+ # all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning
599
+ # substring matching, for strings. The supported value types are: * string
600
+ # literals in quotes. * integer literals without quotes. * boolean literals `
601
+ # true` and `false` without quotes. Please see the proto documentation in the
602
+ # finding (https://source.corp.google.com/piper///depot/google3/google/cloud/
603
+ # securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid
604
+ # filter syntax. (https://source.corp.google.com/piper///depot/google3/google/
605
+ # cloud/securitycenter/v1/securitycenter_service.proto).
606
+ # Corresponds to the JSON property `filter`
607
+ # @return [String]
608
+ attr_accessor :filter
609
+
610
+ # Output only. Email address of the user who last edited the big query export.
611
+ # This field is set by the server and will be ignored if provided on export
612
+ # creation or update.
613
+ # Corresponds to the JSON property `mostRecentEditor`
614
+ # @return [String]
615
+ attr_accessor :most_recent_editor
616
+
617
+ # The relative resource name of this export. See: https://cloud.google.com/apis/
618
+ # design/resource_names#relative_resource_name. Example format: "organizations/`
619
+ # organization_id`/bigQueryExports/`export_id`" Example format: "folders/`
620
+ # folder_id`/bigQueryExports/`export_id`" Example format: "projects/`project_id`/
621
+ # bigQueryExports/`export_id`" This field is provided in responses, and is
622
+ # ignored when provided in create requests.
623
+ # Corresponds to the JSON property `name`
624
+ # @return [String]
625
+ attr_accessor :name
626
+
627
+ # Output only. The service account that needs permission to create table, upload
628
+ # data to the big query dataset.
629
+ # Corresponds to the JSON property `principal`
630
+ # @return [String]
631
+ attr_accessor :principal
632
+
633
+ # Output only. The most recent time at which the big export was updated. This
634
+ # field is set by the server and will be ignored if provided on export creation
635
+ # or update.
636
+ # Corresponds to the JSON property `updateTime`
637
+ # @return [String]
638
+ attr_accessor :update_time
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @create_time = args[:create_time] if args.key?(:create_time)
647
+ @dataset = args[:dataset] if args.key?(:dataset)
648
+ @description = args[:description] if args.key?(:description)
649
+ @filter = args[:filter] if args.key?(:filter)
650
+ @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
651
+ @name = args[:name] if args.key?(:name)
652
+ @principal = args[:principal] if args.key?(:principal)
653
+ @update_time = args[:update_time] if args.key?(:update_time)
654
+ end
655
+ end
656
+
561
657
  # The response to a BulkMute request. Contains the LRO information.
562
658
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
563
659
  include Google::Apis::Core::Hashable
@@ -763,7 +859,7 @@ module Google
763
859
  # @return [String]
764
860
  attr_accessor :project
765
861
 
766
- # The human readable name of project that the resource belongs to.
862
+ # The project id that the resource belongs to.
767
863
  # Corresponds to the JSON property `projectDisplayName`
768
864
  # @return [String]
769
865
  attr_accessor :project_display_name
@@ -1048,7 +1144,7 @@ module Google
1048
1144
  # @return [String]
1049
1145
  attr_accessor :project
1050
1146
 
1051
- # The human readable name of project that the resource belongs to.
1147
+ # The project id that the resource belongs to.
1052
1148
  # Corresponds to the JSON property `projectDisplayName`
1053
1149
  # @return [String]
1054
1150
  attr_accessor :project_display_name
@@ -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.13.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220113"
25
+ REVISION = "20220219"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudSecuritycenterV1BigQueryExport
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -261,6 +267,7 @@ module Google
261
267
  property :id, as: 'id'
262
268
  collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::Reference, decorator: Google::Apis::SecuritycenterV1beta2::Reference::Representation
263
269
 
270
+ property :upstream_fix_available, as: 'upstreamFixAvailable'
264
271
  end
265
272
  end
266
273
 
@@ -347,6 +354,20 @@ module Google
347
354
  end
348
355
  end
349
356
 
357
+ class GoogleCloudSecuritycenterV1BigQueryExport
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :create_time, as: 'createTime'
361
+ property :dataset, as: 'dataset'
362
+ property :description, as: 'description'
363
+ property :filter, as: 'filter'
364
+ property :most_recent_editor, as: 'mostRecentEditor'
365
+ property :name, as: 'name'
366
+ property :principal, as: 'principal'
367
+ property :update_time, as: 'updateTime'
368
+ end
369
+ end
370
+
350
371
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
351
372
  # @private
352
373
  class Representation < Google::Apis::Core::JsonRepresentation
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.13.0
4
+ version: 0.16.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: 2022-01-24 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []