google-apis-securitycenter_v1beta2 0.15.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: f475b18c808684b31aa4a1d0c16cf7cdf1b7ce0afe9466a859a48597367dfccf
4
- data.tar.gz: 0f77294a6ff512e4dcc3417fd5111e089de39049f96db9c8fc57386fead7acec
3
+ metadata.gz: 7ec44f18edb08e272714dcf0695e20893c898adc88b7550fadf209154c28c7a0
4
+ data.tar.gz: 7a8edc0839b296c11407ba2967ea36590b7c53c1f3ce65089f7f76013339549f
5
5
  SHA512:
6
- metadata.gz: cd54e068badfd502bccf6daaa24225d644e32da08ed62f46bc000395646d8e57162b018a1397c6e8a14b4ccbd495b64e1bd9ebf30d99c9331dc3eee81f5ada8a
7
- data.tar.gz: b787a37bc6f38d02167d6e02328c83db8d819f42ee243db18196f90609f3983d44dd2f8868cdc53e990efbb42f3868d823c646350a963917e33c706fdc55d7bf
6
+ metadata.gz: 7fc9e7b8cf109206985e0e5bbd84cd7fe618954246881a8349c160b52baf6342ff28895ec72324b82d124c414aa4fd4de80677efd76dceac571c365aa127e1fa
7
+ data.tar.gz: acbe316d9a636b7c26076bb5c73864c6377ab01ae033ec710c2e228b4b84fee7371c52a9e3746ba089007b920ad2a6922c6d2d0899d27974d8bbbc391c833427
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.15.0 (2022-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20220210
@@ -567,6 +567,93 @@ module Google
567
567
  end
568
568
  end
569
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
+
570
657
  # The response to a BulkMute request. Contains the LRO information.
571
658
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
572
659
  include Google::Apis::Core::Hashable
@@ -772,7 +859,7 @@ module Google
772
859
  # @return [String]
773
860
  attr_accessor :project
774
861
 
775
- # The human readable name of project that the resource belongs to.
862
+ # The project id that the resource belongs to.
776
863
  # Corresponds to the JSON property `projectDisplayName`
777
864
  # @return [String]
778
865
  attr_accessor :project_display_name
@@ -1057,7 +1144,7 @@ module Google
1057
1144
  # @return [String]
1058
1145
  attr_accessor :project
1059
1146
 
1060
- # The human readable name of project that the resource belongs to.
1147
+ # The project id that the resource belongs to.
1061
1148
  # Corresponds to the JSON property `projectDisplayName`
1062
1149
  # @return [String]
1063
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.15.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 = "20220210"
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
 
@@ -348,6 +354,20 @@ module Google
348
354
  end
349
355
  end
350
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
+
351
371
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
352
372
  # @private
353
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.15.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-02-21 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.15.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: []