google-apis-securitycenter_v1beta2 0.38.0 → 0.40.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: ee8e06603b4125c6044aa3b8bb7a9c1dcd27dd0ee9507fdc3a5b6477d9c08205
4
- data.tar.gz: 9e80cfdfe8effff7c2e22364392b9b0fac73b4a8020313406440e11c7f0c642b
3
+ metadata.gz: 7bc61d5fedcf4308ada5656bc25e0b2eebb9a8dd9676bcfebca23802cfbb3c6c
4
+ data.tar.gz: c43bf850f1821b0cae4d89e71559669c03a6b6cb0e7c33d7ecfc8190a2846ccb
5
5
  SHA512:
6
- metadata.gz: 665629a0834d39a25eca5bcc78b04fc01ed144c3b964103b7f6914cac2dd085dfe7bc0f7b27e02674be6eb3eebe003de9374f44438aaf38ddac079ae95ecbcd6
7
- data.tar.gz: 3255afea05f15f8b9ee7667a5387d5d2ec370661c7d08770fa4ec84eee172db050ccc2c251ce29749e9c068865224d7f8bda3133361cd26fb66e8ad3994a03a5
6
+ metadata.gz: 4f1ccc3bd3b4bed02415827aeaf7c5ed431015c7f57307d462ae3888106e7a0393c5db373d9453ca2a6184e72295fe7516bbb6500d5662c742fe5597a555ff94
7
+ data.tar.gz: 0dc0fea6d906861e6f27d610f8bf2c457f4e56c0028029f7d21e374e5a2006f7e54067a8701c9f659bb55835afae9b5b9ea8e99753ff1197da11e5030853604d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.40.0 (2022-11-08)
4
+
5
+ * Regenerated from discovery document revision 20221103
6
+
7
+ ### v0.39.0 (2022-11-04)
8
+
9
+ * Regenerated from discovery document revision 20221027
10
+
3
11
  ### v0.38.0 (2022-10-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20221014
@@ -969,6 +969,11 @@ module Google
969
969
  # @return [String]
970
970
  attr_accessor :external_uri
971
971
 
972
+ # File associated with the finding.
973
+ # Corresponds to the JSON property `files`
974
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::File>]
975
+ attr_accessor :files
976
+
972
977
  # The class of the finding.
973
978
  # Corresponds to the JSON property `findingClass`
974
979
  # @return [String]
@@ -1110,6 +1115,7 @@ module Google
1110
1115
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
1111
1116
  @external_systems = args[:external_systems] if args.key?(:external_systems)
1112
1117
  @external_uri = args[:external_uri] if args.key?(:external_uri)
1118
+ @files = args[:files] if args.key?(:files)
1113
1119
  @finding_class = args[:finding_class] if args.key?(:finding_class)
1114
1120
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
1115
1121
  @indicator = args[:indicator] if args.key?(:indicator)
@@ -1630,11 +1636,26 @@ module Google
1630
1636
  # @return [String]
1631
1637
  attr_accessor :name
1632
1638
 
1639
+ # Apply resource_value only to resources that match resource_type. resource_type
1640
+ # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1641
+ # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
1642
+ # googleapis.com/Bucket" resources.
1643
+ # Corresponds to the JSON property `resourceType`
1644
+ # @return [String]
1645
+ attr_accessor :resource_type
1646
+
1633
1647
  # Required. Resource value level this expression represents
1634
1648
  # Corresponds to the JSON property `resourceValue`
1635
1649
  # @return [String]
1636
1650
  attr_accessor :resource_value
1637
1651
 
1652
+ # Project or folder to scope this config to. For example, "project/456" would
1653
+ # apply this config only to resources in "project/456" scope will be checked
1654
+ # with "AND" of other resources.
1655
+ # Corresponds to the JSON property `scope`
1656
+ # @return [String]
1657
+ attr_accessor :scope
1658
+
1638
1659
  # Required. Tag values combined with AND to check against. Values in the form "
1639
1660
  # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
1640
1661
  # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
@@ -1649,7 +1670,9 @@ module Google
1649
1670
  # Update properties of this object
1650
1671
  def update!(**args)
1651
1672
  @name = args[:name] if args.key?(:name)
1673
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1652
1674
  @resource_value = args[:resource_value] if args.key?(:resource_value)
1675
+ @scope = args[:scope] if args.key?(:scope)
1653
1676
  @tag_values = args[:tag_values] if args.key?(:tag_values)
1654
1677
  end
1655
1678
  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.38.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221014"
25
+ REVISION = "20221103"
26
26
  end
27
27
  end
28
28
  end
@@ -672,6 +672,8 @@ module Google
672
672
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation
673
673
 
674
674
  property :external_uri, as: 'externalUri'
675
+ collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
676
+
675
677
  property :finding_class, as: 'findingClass'
676
678
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::IamBinding::Representation
677
679
 
@@ -827,7 +829,9 @@ module Google
827
829
  # @private
828
830
  class Representation < Google::Apis::Core::JsonRepresentation
829
831
  property :name, as: 'name'
832
+ property :resource_type, as: 'resourceType'
830
833
  property :resource_value, as: 'resourceValue'
834
+ property :scope, as: 'scope'
831
835
  collection :tag_values, as: 'tagValues'
832
836
  end
833
837
  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.38.0
4
+ version: 0.40.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-10-21 00:00:00.000000000 Z
11
+ date: 2022-11-14 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.40.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: []