google-apis-securitycenter_v1 0.44.0 → 0.46.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: 7c085b0f57c7234d4ba84b7876632ed0571dead5970f1d0379e0305f76c690ea
4
- data.tar.gz: 6819ecf35d349aa095f829e54f9208df4dc79cc4500dabf1df9bdd45565056bd
3
+ metadata.gz: 22975a4e64dc3bea9a921ece1dda4235e5aa8690c437d0b68982f96dfcd0ae4d
4
+ data.tar.gz: 128a728b040b8aa4025df305f065c203d98b83b18ea504e00e77d303b777992c
5
5
  SHA512:
6
- metadata.gz: aebe1e04abe9ea1bbba0e2115a1e6d73fe9e315818dc08648254336c449cb8c16d09c4b09f568b750b771ac645654ebaf2c4b84042541842f344191122b37388
7
- data.tar.gz: a2218f6a0d3071c87dbaf143acf9b8974d6754025504d80bc2bbf2bc7446080fd3bb3830e7a3b37a7b221fb1d54eb90334929d859f76e77c839eb3172d983d7f
6
+ metadata.gz: f140beab9049617c13b8a1f51c78bae3a9ce45eb99e0d4606b691cb1b264077f0e95f9f3ad48e4c6c2650d8d6959e8ba250a18645f7f4d182ae4e9c8aa647cc3
7
+ data.tar.gz: 1f3accc4b2275eb05715c32326dfa01ca8d18bc06522996f68905f0494279d78b79c2d8b6a97136eb8f3e500e52ee2275e10cc2ed9af98a2458227a3c2582741
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.46.0 (2022-11-13)
4
+
5
+ * Regenerated from discovery document revision 20221103
6
+
7
+ ### v0.45.0 (2022-11-04)
8
+
9
+ * Regenerated from discovery document revision 20221027
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.44.0 (2022-09-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20220921
@@ -95,9 +95,9 @@ module Google
95
95
  # instance, this may be the system user name if the finding is VM-related, or
96
96
  # this may be some type of application login user name, depending on the type of
97
97
  # finding.
98
- # Corresponds to the JSON property `username`
98
+ # Corresponds to the JSON property `userName`
99
99
  # @return [String]
100
- attr_accessor :username
100
+ attr_accessor :user_name
101
101
 
102
102
  def initialize(**args)
103
103
  update!(**args)
@@ -114,7 +114,7 @@ module Google
114
114
  @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
115
115
  @service_name = args[:service_name] if args.key?(:service_name)
116
116
  @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
117
- @username = args[:username] if args.key?(:username)
117
+ @user_name = args[:user_name] if args.key?(:user_name)
118
118
  end
119
119
  end
120
120
 
@@ -285,6 +285,32 @@ module Google
285
285
  end
286
286
  end
287
287
 
288
+ # A finding that is associated with this node in the exposure path.
289
+ class AssociatedFinding
290
+ include Google::Apis::Core::Hashable
291
+
292
+ # Canonical name of the associated findings. Example: organizations/123/sources/
293
+ # 456/findings/789
294
+ # Corresponds to the JSON property `canonicalFindingName`
295
+ # @return [String]
296
+ attr_accessor :canonical_finding_name
297
+
298
+ # The additional taxonomy group within findings from a given source.
299
+ # Corresponds to the JSON property `findingCategory`
300
+ # @return [String]
301
+ attr_accessor :finding_category
302
+
303
+ def initialize(**args)
304
+ update!(**args)
305
+ end
306
+
307
+ # Update properties of this object
308
+ def update!(**args)
309
+ @canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
310
+ @finding_category = args[:finding_category] if args.key?(:finding_category)
311
+ end
312
+ end
313
+
288
314
  # Specifies the audit configuration for a service. The configuration determines
289
315
  # which permission types are logged, and what identities, if any, are exempted
290
316
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -815,6 +841,32 @@ module Google
815
841
  end
816
842
  end
817
843
 
844
+ # Represents a connection between a source node and a destination node in this
845
+ # exposure path.
846
+ class Edge
847
+ include Google::Apis::Core::Hashable
848
+
849
+ # This is the resource name of the destination node.
850
+ # Corresponds to the JSON property `destination`
851
+ # @return [String]
852
+ attr_accessor :destination
853
+
854
+ # This is the resource name of the source node.
855
+ # Corresponds to the JSON property `source`
856
+ # @return [String]
857
+ attr_accessor :source
858
+
859
+ def initialize(**args)
860
+ update!(**args)
861
+ end
862
+
863
+ # Update properties of this object
864
+ def update!(**args)
865
+ @destination = args[:destination] if args.key?(:destination)
866
+ @source = args[:source] if args.key?(:source)
867
+ end
868
+ end
869
+
818
870
  # A generic empty message that you can re-use to avoid defining duplicated empty
819
871
  # messages in your APIs. A typical example is to use it as the request or the
820
872
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1128,6 +1180,11 @@ module Google
1128
1180
  # @return [String]
1129
1181
  attr_accessor :external_uri
1130
1182
 
1183
+ # File associated with the finding.
1184
+ # Corresponds to the JSON property `files`
1185
+ # @return [Array<Google::Apis::SecuritycenterV1::File>]
1186
+ attr_accessor :files
1187
+
1131
1188
  # The class of the finding.
1132
1189
  # Corresponds to the JSON property `findingClass`
1133
1190
  # @return [String]
@@ -1269,6 +1326,7 @@ module Google
1269
1326
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
1270
1327
  @external_systems = args[:external_systems] if args.key?(:external_systems)
1271
1328
  @external_uri = args[:external_uri] if args.key?(:external_uri)
1329
+ @files = args[:files] if args.key?(:files)
1272
1330
  @finding_class = args[:finding_class] if args.key?(:finding_class)
1273
1331
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
1274
1332
  @indicator = args[:indicator] if args.key?(:indicator)
@@ -1521,12 +1579,51 @@ module Google
1521
1579
  class GoogleCloudSecuritycenterV1ExposedResource
1522
1580
  include Google::Apis::Core::Hashable
1523
1581
 
1582
+ # Human readable name of the resource that is exposed.
1583
+ # Corresponds to the JSON property `displayName`
1584
+ # @return [String]
1585
+ attr_accessor :display_name
1586
+
1587
+ # The ways in which this resource is exposed. Examples: Read, Write
1588
+ # Corresponds to the JSON property `methods`
1589
+ # @return [Array<String>]
1590
+ attr_accessor :methods_prop
1591
+
1592
+ # Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/
1593
+ # exposedResources/789`
1594
+ # Corresponds to the JSON property `name`
1595
+ # @return [String]
1596
+ attr_accessor :name
1597
+
1598
+ # The name of the resource that is exposed. See: https://cloud.google.com/apis/
1599
+ # design/resource_names#full_resource_name
1600
+ # Corresponds to the JSON property `resource`
1601
+ # @return [String]
1602
+ attr_accessor :resource
1603
+
1604
+ # The resource type of the exposed resource. See: https://cloud.google.com/asset-
1605
+ # inventory/docs/supported-asset-types
1606
+ # Corresponds to the JSON property `resourceType`
1607
+ # @return [String]
1608
+ attr_accessor :resource_type
1609
+
1610
+ # How valuable this resource is.
1611
+ # Corresponds to the JSON property `resourceValue`
1612
+ # @return [String]
1613
+ attr_accessor :resource_value
1614
+
1524
1615
  def initialize(**args)
1525
1616
  update!(**args)
1526
1617
  end
1527
1618
 
1528
1619
  # Update properties of this object
1529
1620
  def update!(**args)
1621
+ @display_name = args[:display_name] if args.key?(:display_name)
1622
+ @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
1623
+ @name = args[:name] if args.key?(:name)
1624
+ @resource = args[:resource] if args.key?(:resource)
1625
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1626
+ @resource_value = args[:resource_value] if args.key?(:resource_value)
1530
1627
  end
1531
1628
  end
1532
1629
 
@@ -1534,12 +1631,37 @@ module Google
1534
1631
  class GoogleCloudSecuritycenterV1ExposurePath
1535
1632
  include Google::Apis::Core::Hashable
1536
1633
 
1634
+ # A list of the edges between nodes in this exposure path.
1635
+ # Corresponds to the JSON property `edges`
1636
+ # @return [Array<Google::Apis::SecuritycenterV1::Edge>]
1637
+ attr_accessor :edges
1638
+
1639
+ # A resource that is exposed as a result of a finding.
1640
+ # Corresponds to the JSON property `exposedResource`
1641
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExposedResource]
1642
+ attr_accessor :exposed_resource
1643
+
1644
+ # Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/
1645
+ # exposurePaths/789`
1646
+ # Corresponds to the JSON property `name`
1647
+ # @return [String]
1648
+ attr_accessor :name
1649
+
1650
+ # A list of nodes that exist in this exposure path.
1651
+ # Corresponds to the JSON property `pathNodes`
1652
+ # @return [Array<Google::Apis::SecuritycenterV1::PathNode>]
1653
+ attr_accessor :path_nodes
1654
+
1537
1655
  def initialize(**args)
1538
1656
  update!(**args)
1539
1657
  end
1540
1658
 
1541
1659
  # Update properties of this object
1542
1660
  def update!(**args)
1661
+ @edges = args[:edges] if args.key?(:edges)
1662
+ @exposed_resource = args[:exposed_resource] if args.key?(:exposed_resource)
1663
+ @name = args[:name] if args.key?(:name)
1664
+ @path_nodes = args[:path_nodes] if args.key?(:path_nodes)
1543
1665
  end
1544
1666
  end
1545
1667
 
@@ -1772,11 +1894,26 @@ module Google
1772
1894
  # @return [String]
1773
1895
  attr_accessor :name
1774
1896
 
1897
+ # Apply resource_value only to resources that match resource_type. resource_type
1898
+ # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1899
+ # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
1900
+ # googleapis.com/Bucket" resources.
1901
+ # Corresponds to the JSON property `resourceType`
1902
+ # @return [String]
1903
+ attr_accessor :resource_type
1904
+
1775
1905
  # Required. Resource value level this expression represents
1776
1906
  # Corresponds to the JSON property `resourceValue`
1777
1907
  # @return [String]
1778
1908
  attr_accessor :resource_value
1779
1909
 
1910
+ # Project or folder to scope this config to. For example, "project/456" would
1911
+ # apply this config only to resources in "project/456" scope will be checked
1912
+ # with "AND" of other resources.
1913
+ # Corresponds to the JSON property `scope`
1914
+ # @return [String]
1915
+ attr_accessor :scope
1916
+
1780
1917
  # Required. Tag values combined with AND to check against. Values in the form "
1781
1918
  # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
1782
1919
  # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
@@ -1791,7 +1928,9 @@ module Google
1791
1928
  # Update properties of this object
1792
1929
  def update!(**args)
1793
1930
  @name = args[:name] if args.key?(:name)
1931
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1794
1932
  @resource_value = args[:resource_value] if args.key?(:resource_value)
1933
+ @scope = args[:scope] if args.key?(:scope)
1795
1934
  @tag_values = args[:tag_values] if args.key?(:tag_values)
1796
1935
  end
1797
1936
  end
@@ -3178,6 +3317,46 @@ module Google
3178
3317
  end
3179
3318
  end
3180
3319
 
3320
+ # Represents one point that an attacker passes through in this exposure path.
3321
+ class PathNode
3322
+ include Google::Apis::Core::Hashable
3323
+
3324
+ # The findings associated with this node in the exposure path.
3325
+ # Corresponds to the JSON property `associatedFindings`
3326
+ # @return [Array<Google::Apis::SecuritycenterV1::AssociatedFinding>]
3327
+ attr_accessor :associated_findings
3328
+
3329
+ # Human readable name of this resource.
3330
+ # Corresponds to the JSON property `displayName`
3331
+ # @return [String]
3332
+ attr_accessor :display_name
3333
+
3334
+ # The name of the resource at this point in the exposure path. The format of the
3335
+ # name is: https://cloud.google.com/apis/design/resource_names#
3336
+ # full_resource_name
3337
+ # Corresponds to the JSON property `resource`
3338
+ # @return [String]
3339
+ attr_accessor :resource
3340
+
3341
+ # The resource type of this resource. See: https://cloud.google.com/asset-
3342
+ # inventory/docs/supported-asset-types
3343
+ # Corresponds to the JSON property `resourceType`
3344
+ # @return [String]
3345
+ attr_accessor :resource_type
3346
+
3347
+ def initialize(**args)
3348
+ update!(**args)
3349
+ end
3350
+
3351
+ # Update properties of this object
3352
+ def update!(**args)
3353
+ @associated_findings = args[:associated_findings] if args.key?(:associated_findings)
3354
+ @display_name = args[:display_name] if args.key?(:display_name)
3355
+ @resource = args[:resource] if args.key?(:resource)
3356
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
3357
+ end
3358
+ end
3359
+
3181
3360
  # Kubernetes Pod.
3182
3361
  class Pod
3183
3362
  include Google::Apis::Core::Hashable
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220921"
25
+ REVISION = "20221103"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AssociatedFinding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class AuditConfig
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class Edge
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class Empty
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -454,6 +466,12 @@ module Google
454
466
  include Google::Apis::Core::JsonObjectSupport
455
467
  end
456
468
 
469
+ class PathNode
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
457
475
  class Pod
458
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
477
 
@@ -600,7 +618,7 @@ module Google
600
618
  property :service_account_key_name, as: 'serviceAccountKeyName'
601
619
  property :service_name, as: 'serviceName'
602
620
  property :user_agent_family, as: 'userAgentFamily'
603
- property :username, as: 'username'
621
+ property :user_name, as: 'userName'
604
622
  end
605
623
  end
606
624
 
@@ -643,6 +661,14 @@ module Google
643
661
  end
644
662
  end
645
663
 
664
+ class AssociatedFinding
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :canonical_finding_name, as: 'canonicalFindingName'
668
+ property :finding_category, as: 'findingCategory'
669
+ end
670
+ end
671
+
646
672
  class AuditConfig
647
673
  # @private
648
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -770,6 +796,14 @@ module Google
770
796
  end
771
797
  end
772
798
 
799
+ class Edge
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :destination, as: 'destination'
803
+ property :source, as: 'source'
804
+ end
805
+ end
806
+
773
807
  class Empty
774
808
  # @private
775
809
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -849,6 +883,8 @@ module Google
849
883
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
850
884
 
851
885
  property :external_uri, as: 'externalUri'
886
+ collection :files, as: 'files', class: Google::Apis::SecuritycenterV1::File, decorator: Google::Apis::SecuritycenterV1::File::Representation
887
+
852
888
  property :finding_class, as: 'findingClass'
853
889
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1::IamBinding, decorator: Google::Apis::SecuritycenterV1::IamBinding::Representation
854
890
 
@@ -943,12 +979,25 @@ module Google
943
979
  class GoogleCloudSecuritycenterV1ExposedResource
944
980
  # @private
945
981
  class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :display_name, as: 'displayName'
983
+ collection :methods_prop, as: 'methods'
984
+ property :name, as: 'name'
985
+ property :resource, as: 'resource'
986
+ property :resource_type, as: 'resourceType'
987
+ property :resource_value, as: 'resourceValue'
946
988
  end
947
989
  end
948
990
 
949
991
  class GoogleCloudSecuritycenterV1ExposurePath
950
992
  # @private
951
993
  class Representation < Google::Apis::Core::JsonRepresentation
994
+ collection :edges, as: 'edges', class: Google::Apis::SecuritycenterV1::Edge, decorator: Google::Apis::SecuritycenterV1::Edge::Representation
995
+
996
+ property :exposed_resource, as: 'exposedResource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExposedResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExposedResource::Representation
997
+
998
+ property :name, as: 'name'
999
+ collection :path_nodes, as: 'pathNodes', class: Google::Apis::SecuritycenterV1::PathNode, decorator: Google::Apis::SecuritycenterV1::PathNode::Representation
1000
+
952
1001
  end
953
1002
  end
954
1003
 
@@ -1006,7 +1055,9 @@ module Google
1006
1055
  # @private
1007
1056
  class Representation < Google::Apis::Core::JsonRepresentation
1008
1057
  property :name, as: 'name'
1058
+ property :resource_type, as: 'resourceType'
1009
1059
  property :resource_value, as: 'resourceValue'
1060
+ property :scope, as: 'scope'
1010
1061
  collection :tag_values, as: 'tagValues'
1011
1062
  end
1012
1063
  end
@@ -1359,6 +1410,17 @@ module Google
1359
1410
  end
1360
1411
  end
1361
1412
 
1413
+ class PathNode
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1::AssociatedFinding::Representation
1417
+
1418
+ property :display_name, as: 'displayName'
1419
+ property :resource, as: 'resource'
1420
+ property :resource_type, as: 'resourceType'
1421
+ end
1422
+ end
1423
+
1362
1424
  class Pod
1363
1425
  # @private
1364
1426
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +661,189 @@ module Google
661
661
  execute_or_queue_command(command, &block)
662
662
  end
663
663
 
664
+ # Creates a notification config.
665
+ # @param [String] parent
666
+ # Required. Resource name of the new notification config's parent. Its format is
667
+ # "organizations/[organization_id]", "folders/[folder_id]", or "projects/[
668
+ # project_id]".
669
+ # @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
670
+ # @param [String] config_id
671
+ # Required. Unique identifier provided by the client within the parent scope. It
672
+ # must be between 1 and 128 characters, and contains alphanumeric characters,
673
+ # underscores or hyphens only.
674
+ # @param [String] fields
675
+ # Selector specifying which fields to include in a partial response.
676
+ # @param [String] quota_user
677
+ # Available to use for quota purposes for server-side applications. Can be any
678
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
679
+ # @param [Google::Apis::RequestOptions] options
680
+ # Request-specific options
681
+ #
682
+ # @yield [result, err] Result & error if block supplied
683
+ # @yieldparam result [Google::Apis::SecuritycenterV1::NotificationConfig] parsed result object
684
+ # @yieldparam err [StandardError] error object if request failed
685
+ #
686
+ # @return [Google::Apis::SecuritycenterV1::NotificationConfig]
687
+ #
688
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
689
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
690
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
691
+ def create_folder_notification_config(parent, notification_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
692
+ command = make_simple_command(:post, 'v1/{+parent}/notificationConfigs', options)
693
+ command.request_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
694
+ command.request_object = notification_config_object
695
+ command.response_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
696
+ command.response_class = Google::Apis::SecuritycenterV1::NotificationConfig
697
+ command.params['parent'] = parent unless parent.nil?
698
+ command.query['configId'] = config_id unless config_id.nil?
699
+ command.query['fields'] = fields unless fields.nil?
700
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
701
+ execute_or_queue_command(command, &block)
702
+ end
703
+
704
+ # Deletes a notification config.
705
+ # @param [String] name
706
+ # Required. Name of the notification config to delete. Its format is "
707
+ # organizations/[organization_id]/notificationConfigs/[config_id]".
708
+ # @param [String] fields
709
+ # Selector specifying which fields to include in a partial response.
710
+ # @param [String] quota_user
711
+ # Available to use for quota purposes for server-side applications. Can be any
712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
713
+ # @param [Google::Apis::RequestOptions] options
714
+ # Request-specific options
715
+ #
716
+ # @yield [result, err] Result & error if block supplied
717
+ # @yieldparam result [Google::Apis::SecuritycenterV1::Empty] parsed result object
718
+ # @yieldparam err [StandardError] error object if request failed
719
+ #
720
+ # @return [Google::Apis::SecuritycenterV1::Empty]
721
+ #
722
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
723
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
724
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
725
+ def delete_folder_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
726
+ command = make_simple_command(:delete, 'v1/{+name}', options)
727
+ command.response_representation = Google::Apis::SecuritycenterV1::Empty::Representation
728
+ command.response_class = Google::Apis::SecuritycenterV1::Empty
729
+ command.params['name'] = name unless name.nil?
730
+ command.query['fields'] = fields unless fields.nil?
731
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
732
+ execute_or_queue_command(command, &block)
733
+ end
734
+
735
+ # Gets a notification config.
736
+ # @param [String] name
737
+ # Required. Name of the notification config to get. Its format is "organizations/
738
+ # [organization_id]/notificationConfigs/[config_id]".
739
+ # @param [String] fields
740
+ # Selector specifying which fields to include in a partial response.
741
+ # @param [String] quota_user
742
+ # Available to use for quota purposes for server-side applications. Can be any
743
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
744
+ # @param [Google::Apis::RequestOptions] options
745
+ # Request-specific options
746
+ #
747
+ # @yield [result, err] Result & error if block supplied
748
+ # @yieldparam result [Google::Apis::SecuritycenterV1::NotificationConfig] parsed result object
749
+ # @yieldparam err [StandardError] error object if request failed
750
+ #
751
+ # @return [Google::Apis::SecuritycenterV1::NotificationConfig]
752
+ #
753
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
754
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
755
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
756
+ def get_folder_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
757
+ command = make_simple_command(:get, 'v1/{+name}', options)
758
+ command.response_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
759
+ command.response_class = Google::Apis::SecuritycenterV1::NotificationConfig
760
+ command.params['name'] = name unless name.nil?
761
+ command.query['fields'] = fields unless fields.nil?
762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
763
+ execute_or_queue_command(command, &block)
764
+ end
765
+
766
+ # Lists notification configs.
767
+ # @param [String] parent
768
+ # Required. Name of the organization to list notification configs. Its format is
769
+ # "organizations/[organization_id]", "folders/[folder_id]", or "projects/[
770
+ # project_id]".
771
+ # @param [Fixnum] page_size
772
+ # The maximum number of results to return in a single response. Default is 10,
773
+ # minimum is 1, maximum is 1000.
774
+ # @param [String] page_token
775
+ # The value returned by the last `ListNotificationConfigsResponse`; indicates
776
+ # that this is a continuation of a prior `ListNotificationConfigs` call, and
777
+ # that the system should return the next page of data.
778
+ # @param [String] fields
779
+ # Selector specifying which fields to include in a partial response.
780
+ # @param [String] quota_user
781
+ # Available to use for quota purposes for server-side applications. Can be any
782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
783
+ # @param [Google::Apis::RequestOptions] options
784
+ # Request-specific options
785
+ #
786
+ # @yield [result, err] Result & error if block supplied
787
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse] parsed result object
788
+ # @yieldparam err [StandardError] error object if request failed
789
+ #
790
+ # @return [Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse]
791
+ #
792
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
793
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
794
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
795
+ def list_folder_notification_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
796
+ command = make_simple_command(:get, 'v1/{+parent}/notificationConfigs', options)
797
+ command.response_representation = Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse::Representation
798
+ command.response_class = Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse
799
+ command.params['parent'] = parent unless parent.nil?
800
+ command.query['pageSize'] = page_size unless page_size.nil?
801
+ command.query['pageToken'] = page_token unless page_token.nil?
802
+ command.query['fields'] = fields unless fields.nil?
803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
804
+ execute_or_queue_command(command, &block)
805
+ end
806
+
807
+ # Updates a notification config. The following update fields are allowed:
808
+ # description, pubsub_topic, streaming_config.filter
809
+ # @param [String] name
810
+ # The relative resource name of this notification config. See: https://cloud.
811
+ # google.com/apis/design/resource_names#relative_resource_name Example: "
812
+ # organizations/`organization_id`/notificationConfigs/notify_public_bucket".
813
+ # @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
814
+ # @param [String] update_mask
815
+ # The FieldMask to use when updating the notification config. If empty all
816
+ # mutable fields will be updated.
817
+ # @param [String] fields
818
+ # Selector specifying which fields to include in a partial response.
819
+ # @param [String] quota_user
820
+ # Available to use for quota purposes for server-side applications. Can be any
821
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
822
+ # @param [Google::Apis::RequestOptions] options
823
+ # Request-specific options
824
+ #
825
+ # @yield [result, err] Result & error if block supplied
826
+ # @yieldparam result [Google::Apis::SecuritycenterV1::NotificationConfig] parsed result object
827
+ # @yieldparam err [StandardError] error object if request failed
828
+ #
829
+ # @return [Google::Apis::SecuritycenterV1::NotificationConfig]
830
+ #
831
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
832
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
833
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
834
+ def patch_folder_notification_config(name, notification_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
835
+ command = make_simple_command(:patch, 'v1/{+name}', options)
836
+ command.request_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
837
+ command.request_object = notification_config_object
838
+ command.response_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
839
+ command.response_class = Google::Apis::SecuritycenterV1::NotificationConfig
840
+ command.params['name'] = name unless name.nil?
841
+ command.query['updateMask'] = update_mask unless update_mask.nil?
842
+ command.query['fields'] = fields unless fields.nil?
843
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
844
+ execute_or_queue_command(command, &block)
845
+ end
846
+
664
847
  # Lists all sources belonging to an organization.
665
848
  # @param [String] parent
666
849
  # Required. Resource name of the parent of sources to list. Its format should be
@@ -904,9 +1087,9 @@ module Google
904
1087
  # @param [String] name
905
1088
  # Required. The relative resource name of the finding. See: https://cloud.google.
906
1089
  # com/apis/design/resource_names#relative_resource_name Example: "organizations/`
907
- # organization_id`/sources/`source_id`/finding/`finding_id`", "folders/`
908
- # folder_id`/sources/`source_id`/finding/`finding_id`", "projects/`project_id`/
909
- # sources/`source_id`/finding/`finding_id`".
1090
+ # organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
1091
+ # folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
1092
+ # sources/`source_id`/findings/`finding_id`".
910
1093
  # @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
911
1094
  # @param [String] fields
912
1095
  # Selector specifying which fields to include in a partial response.
@@ -941,7 +1124,7 @@ module Google
941
1124
  # @param [String] name
942
1125
  # Required. The relative resource name of the finding. See: https://cloud.google.
943
1126
  # com/apis/design/resource_names#relative_resource_name Example: "organizations/`
944
- # organization_id`/sources/`source_id`/finding/`finding_id`".
1127
+ # organization_id`/sources/`source_id`/findings/`finding_id`".
945
1128
  # @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
946
1129
  # @param [String] fields
947
1130
  # Selector specifying which fields to include in a partial response.
@@ -1779,7 +1962,8 @@ module Google
1779
1962
  # Creates a notification config.
1780
1963
  # @param [String] parent
1781
1964
  # Required. Resource name of the new notification config's parent. Its format is
1782
- # "organizations/[organization_id]" or "projects/[project_id]".
1965
+ # "organizations/[organization_id]", "folders/[folder_id]", or "projects/[
1966
+ # project_id]".
1783
1967
  # @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
1784
1968
  # @param [String] config_id
1785
1969
  # Required. Unique identifier provided by the client within the parent scope. It
@@ -1880,7 +2064,8 @@ module Google
1880
2064
  # Lists notification configs.
1881
2065
  # @param [String] parent
1882
2066
  # Required. Name of the organization to list notification configs. Its format is
1883
- # "organizations/[organization_id]" or "projects/[project_id]".
2067
+ # "organizations/[organization_id]", "folders/[folder_id]", or "projects/[
2068
+ # project_id]".
1884
2069
  # @param [Fixnum] page_size
1885
2070
  # The maximum number of results to return in a single response. Default is 10,
1886
2071
  # minimum is 1, maximum is 1000.
@@ -2596,9 +2781,9 @@ module Google
2596
2781
  # @param [String] name
2597
2782
  # Required. The relative resource name of the finding. See: https://cloud.google.
2598
2783
  # com/apis/design/resource_names#relative_resource_name Example: "organizations/`
2599
- # organization_id`/sources/`source_id`/finding/`finding_id`", "folders/`
2600
- # folder_id`/sources/`source_id`/finding/`finding_id`", "projects/`project_id`/
2601
- # sources/`source_id`/finding/`finding_id`".
2784
+ # organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
2785
+ # folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
2786
+ # sources/`source_id`/findings/`finding_id`".
2602
2787
  # @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
2603
2788
  # @param [String] fields
2604
2789
  # Selector specifying which fields to include in a partial response.
@@ -2633,7 +2818,7 @@ module Google
2633
2818
  # @param [String] name
2634
2819
  # Required. The relative resource name of the finding. See: https://cloud.google.
2635
2820
  # com/apis/design/resource_names#relative_resource_name Example: "organizations/`
2636
- # organization_id`/sources/`source_id`/finding/`finding_id`".
2821
+ # organization_id`/sources/`source_id`/findings/`finding_id`".
2637
2822
  # @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
2638
2823
  # @param [String] fields
2639
2824
  # Selector specifying which fields to include in a partial response.
@@ -3362,6 +3547,189 @@ module Google
3362
3547
  execute_or_queue_command(command, &block)
3363
3548
  end
3364
3549
 
3550
+ # Creates a notification config.
3551
+ # @param [String] parent
3552
+ # Required. Resource name of the new notification config's parent. Its format is
3553
+ # "organizations/[organization_id]", "folders/[folder_id]", or "projects/[
3554
+ # project_id]".
3555
+ # @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
3556
+ # @param [String] config_id
3557
+ # Required. Unique identifier provided by the client within the parent scope. It
3558
+ # must be between 1 and 128 characters, and contains alphanumeric characters,
3559
+ # underscores or hyphens only.
3560
+ # @param [String] fields
3561
+ # Selector specifying which fields to include in a partial response.
3562
+ # @param [String] quota_user
3563
+ # Available to use for quota purposes for server-side applications. Can be any
3564
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3565
+ # @param [Google::Apis::RequestOptions] options
3566
+ # Request-specific options
3567
+ #
3568
+ # @yield [result, err] Result & error if block supplied
3569
+ # @yieldparam result [Google::Apis::SecuritycenterV1::NotificationConfig] parsed result object
3570
+ # @yieldparam err [StandardError] error object if request failed
3571
+ #
3572
+ # @return [Google::Apis::SecuritycenterV1::NotificationConfig]
3573
+ #
3574
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3575
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3576
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3577
+ def create_project_notification_config(parent, notification_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3578
+ command = make_simple_command(:post, 'v1/{+parent}/notificationConfigs', options)
3579
+ command.request_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
3580
+ command.request_object = notification_config_object
3581
+ command.response_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
3582
+ command.response_class = Google::Apis::SecuritycenterV1::NotificationConfig
3583
+ command.params['parent'] = parent unless parent.nil?
3584
+ command.query['configId'] = config_id unless config_id.nil?
3585
+ command.query['fields'] = fields unless fields.nil?
3586
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3587
+ execute_or_queue_command(command, &block)
3588
+ end
3589
+
3590
+ # Deletes a notification config.
3591
+ # @param [String] name
3592
+ # Required. Name of the notification config to delete. Its format is "
3593
+ # organizations/[organization_id]/notificationConfigs/[config_id]".
3594
+ # @param [String] fields
3595
+ # Selector specifying which fields to include in a partial response.
3596
+ # @param [String] quota_user
3597
+ # Available to use for quota purposes for server-side applications. Can be any
3598
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3599
+ # @param [Google::Apis::RequestOptions] options
3600
+ # Request-specific options
3601
+ #
3602
+ # @yield [result, err] Result & error if block supplied
3603
+ # @yieldparam result [Google::Apis::SecuritycenterV1::Empty] parsed result object
3604
+ # @yieldparam err [StandardError] error object if request failed
3605
+ #
3606
+ # @return [Google::Apis::SecuritycenterV1::Empty]
3607
+ #
3608
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3609
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3610
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3611
+ def delete_project_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
3612
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3613
+ command.response_representation = Google::Apis::SecuritycenterV1::Empty::Representation
3614
+ command.response_class = Google::Apis::SecuritycenterV1::Empty
3615
+ command.params['name'] = name unless name.nil?
3616
+ command.query['fields'] = fields unless fields.nil?
3617
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3618
+ execute_or_queue_command(command, &block)
3619
+ end
3620
+
3621
+ # Gets a notification config.
3622
+ # @param [String] name
3623
+ # Required. Name of the notification config to get. Its format is "organizations/
3624
+ # [organization_id]/notificationConfigs/[config_id]".
3625
+ # @param [String] fields
3626
+ # Selector specifying which fields to include in a partial response.
3627
+ # @param [String] quota_user
3628
+ # Available to use for quota purposes for server-side applications. Can be any
3629
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3630
+ # @param [Google::Apis::RequestOptions] options
3631
+ # Request-specific options
3632
+ #
3633
+ # @yield [result, err] Result & error if block supplied
3634
+ # @yieldparam result [Google::Apis::SecuritycenterV1::NotificationConfig] parsed result object
3635
+ # @yieldparam err [StandardError] error object if request failed
3636
+ #
3637
+ # @return [Google::Apis::SecuritycenterV1::NotificationConfig]
3638
+ #
3639
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3640
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3641
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3642
+ def get_project_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
3643
+ command = make_simple_command(:get, 'v1/{+name}', options)
3644
+ command.response_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
3645
+ command.response_class = Google::Apis::SecuritycenterV1::NotificationConfig
3646
+ command.params['name'] = name unless name.nil?
3647
+ command.query['fields'] = fields unless fields.nil?
3648
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3649
+ execute_or_queue_command(command, &block)
3650
+ end
3651
+
3652
+ # Lists notification configs.
3653
+ # @param [String] parent
3654
+ # Required. Name of the organization to list notification configs. Its format is
3655
+ # "organizations/[organization_id]", "folders/[folder_id]", or "projects/[
3656
+ # project_id]".
3657
+ # @param [Fixnum] page_size
3658
+ # The maximum number of results to return in a single response. Default is 10,
3659
+ # minimum is 1, maximum is 1000.
3660
+ # @param [String] page_token
3661
+ # The value returned by the last `ListNotificationConfigsResponse`; indicates
3662
+ # that this is a continuation of a prior `ListNotificationConfigs` call, and
3663
+ # that the system should return the next page of data.
3664
+ # @param [String] fields
3665
+ # Selector specifying which fields to include in a partial response.
3666
+ # @param [String] quota_user
3667
+ # Available to use for quota purposes for server-side applications. Can be any
3668
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3669
+ # @param [Google::Apis::RequestOptions] options
3670
+ # Request-specific options
3671
+ #
3672
+ # @yield [result, err] Result & error if block supplied
3673
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse] parsed result object
3674
+ # @yieldparam err [StandardError] error object if request failed
3675
+ #
3676
+ # @return [Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse]
3677
+ #
3678
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3679
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3680
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3681
+ def list_project_notification_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3682
+ command = make_simple_command(:get, 'v1/{+parent}/notificationConfigs', options)
3683
+ command.response_representation = Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse::Representation
3684
+ command.response_class = Google::Apis::SecuritycenterV1::ListNotificationConfigsResponse
3685
+ command.params['parent'] = parent unless parent.nil?
3686
+ command.query['pageSize'] = page_size unless page_size.nil?
3687
+ command.query['pageToken'] = page_token unless page_token.nil?
3688
+ command.query['fields'] = fields unless fields.nil?
3689
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3690
+ execute_or_queue_command(command, &block)
3691
+ end
3692
+
3693
+ # Updates a notification config. The following update fields are allowed:
3694
+ # description, pubsub_topic, streaming_config.filter
3695
+ # @param [String] name
3696
+ # The relative resource name of this notification config. See: https://cloud.
3697
+ # google.com/apis/design/resource_names#relative_resource_name Example: "
3698
+ # organizations/`organization_id`/notificationConfigs/notify_public_bucket".
3699
+ # @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
3700
+ # @param [String] update_mask
3701
+ # The FieldMask to use when updating the notification config. If empty all
3702
+ # mutable fields will be updated.
3703
+ # @param [String] fields
3704
+ # Selector specifying which fields to include in a partial response.
3705
+ # @param [String] quota_user
3706
+ # Available to use for quota purposes for server-side applications. Can be any
3707
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3708
+ # @param [Google::Apis::RequestOptions] options
3709
+ # Request-specific options
3710
+ #
3711
+ # @yield [result, err] Result & error if block supplied
3712
+ # @yieldparam result [Google::Apis::SecuritycenterV1::NotificationConfig] parsed result object
3713
+ # @yieldparam err [StandardError] error object if request failed
3714
+ #
3715
+ # @return [Google::Apis::SecuritycenterV1::NotificationConfig]
3716
+ #
3717
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3718
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3719
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3720
+ def patch_project_notification_config(name, notification_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3721
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3722
+ command.request_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
3723
+ command.request_object = notification_config_object
3724
+ command.response_representation = Google::Apis::SecuritycenterV1::NotificationConfig::Representation
3725
+ command.response_class = Google::Apis::SecuritycenterV1::NotificationConfig
3726
+ command.params['name'] = name unless name.nil?
3727
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3728
+ command.query['fields'] = fields unless fields.nil?
3729
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3730
+ execute_or_queue_command(command, &block)
3731
+ end
3732
+
3365
3733
  # Lists all sources belonging to an organization.
3366
3734
  # @param [String] parent
3367
3735
  # Required. Resource name of the parent of sources to list. Its format should be
@@ -3605,9 +3973,9 @@ module Google
3605
3973
  # @param [String] name
3606
3974
  # Required. The relative resource name of the finding. See: https://cloud.google.
3607
3975
  # com/apis/design/resource_names#relative_resource_name Example: "organizations/`
3608
- # organization_id`/sources/`source_id`/finding/`finding_id`", "folders/`
3609
- # folder_id`/sources/`source_id`/finding/`finding_id`", "projects/`project_id`/
3610
- # sources/`source_id`/finding/`finding_id`".
3976
+ # organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
3977
+ # folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
3978
+ # sources/`source_id`/findings/`finding_id`".
3611
3979
  # @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
3612
3980
  # @param [String] fields
3613
3981
  # Selector specifying which fields to include in a partial response.
@@ -3642,7 +4010,7 @@ module Google
3642
4010
  # @param [String] name
3643
4011
  # Required. The relative resource name of the finding. See: https://cloud.google.
3644
4012
  # com/apis/design/resource_names#relative_resource_name Example: "organizations/`
3645
- # organization_id`/sources/`source_id`/finding/`finding_id`".
4013
+ # organization_id`/sources/`source_id`/findings/`finding_id`".
3646
4014
  # @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
3647
4015
  # @param [String] fields
3648
4016
  # Selector specifying which fields to include in a partial response.
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.44.0
4
+ version: 0.46.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-03 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []