google-apis-securitycenter_v1 0.53.0 → 0.55.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: b4ebbdd4158ede6ce25303140cf867369be1f5db1861f7d85d17d623c85a5005
4
- data.tar.gz: e224136619086a8504da6cae0fbbd1a38fa2ab79af1af73d9d949997bdf9760e
3
+ metadata.gz: 8bfd38e23ba11666879c88f28e2ddce4881662c322f4aaf18c3f6d746751fb86
4
+ data.tar.gz: 3b8729b73cb27581459e662919203584cad697d8db25b73c588959cd4ebebe9f
5
5
  SHA512:
6
- metadata.gz: cbcc5514c48198fdaf1b56445dfdd94c6893f69ce2a5e142c03c35eb3043d00d1f475a0af7ed0e8a67c57b6da326db6711926adbac27f1e621a82214a07052cd
7
- data.tar.gz: affed4ea7e6c19554c5e4e743664713f5572a20f86c6f3827cddd1c2c38d523baa880cbfe864ec92c3f7384dfd8b30a28bdbdc046d0b887cc7686f7a23886908
6
+ metadata.gz: 58bcac671f97e5f5c12d7b36f72b6d9d9b06ec86942c2328a22bd59ee37a4e966eb52149b1ef0997fe47f37ef72e67b98df91574a52bd07a6cc4305d2acf907a
7
+ data.tar.gz: e983ba174a776a156c19e14cfb740f853070b98290f463d34be0723b4391584cc84c50b23137cee6c1e5abcdd88af40bbe41cb1c827b5d12ac2179e51fe4bfff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.55.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
7
+ ### v0.54.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230410
10
+
3
11
  ### v0.53.0 (2023-04-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230329
@@ -42,39 +42,41 @@ module Google
42
42
  attr_accessor :method_name
43
43
 
44
44
  # Associated email, such as "foo@google.com". The email address of the
45
- # authenticated user (or service account on behalf of third party principal)
46
- # making the request. For third party identity callers, the `principal_subject`
47
- # field is populated instead of this field. For privacy reasons, the principal
48
- # email address is sometimes redacted. For more information, see [Caller
49
- # identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
45
+ # authenticated user or a service account acting on behalf of a third party
46
+ # principal making the request. For third party identity callers, the `
47
+ # principal_subject` field is populated instead of this field. For privacy
48
+ # reasons, the principal email address is sometimes redacted. For more
49
+ # information, see [Caller identities in audit logs](https://cloud.google.com/
50
+ # logging/docs/audit#user-id).
50
51
  # Corresponds to the JSON property `principalEmail`
51
52
  # @return [String]
52
53
  attr_accessor :principal_email
53
54
 
54
- # A string representing the principal_subject associated with the identity. As
55
- # compared to `principal_email`, supports principals that aren't associated with
56
- # email addresses, such as third party principals. For most identities, the
57
- # format will be `principal://iam.googleapis.com/`identity pool name`/subjects/`
58
- # subject`` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
59
- # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
60
- # identity pool name`[`subject`]`
55
+ # A string that represents the principal_subject that is associated with the
56
+ # identity. Unlike `principal_email`, `principal_subject` supports principals
57
+ # that aren't associated with email addresses, such as third party principals.
58
+ # For most identities, the format is `principal://iam.googleapis.com/`identity
59
+ # pool name`/subject/`subject``. Some GKE identities, such as GKE_WORKLOAD,
60
+ # FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:`
61
+ # identity pool name`[`subject`]`.
61
62
  # Corresponds to the JSON property `principalSubject`
62
63
  # @return [String]
63
64
  attr_accessor :principal_subject
64
65
 
65
- # Identity delegation history of an authenticated service account that makes the
66
- # request. It contains information on the real authorities that try to access
67
- # GCP resources by delegating on a service account. When multiple authorities
68
- # are present, they are guaranteed to be sorted based on the original ordering
69
- # of the identity delegation events.
66
+ # The identity delegation history of an authenticated service account that made
67
+ # the request. The `serviceAccountDelegationInfo[]` object contains information
68
+ # about the real authorities that try to access Google Cloud resources by
69
+ # delegating on a service account. When multiple authorities are present, they
70
+ # are guaranteed to be sorted based on the original ordering of the identity
71
+ # delegation events.
70
72
  # Corresponds to the JSON property `serviceAccountDelegationInfo`
71
73
  # @return [Array<Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo>]
72
74
  attr_accessor :service_account_delegation_info
73
75
 
74
- # The name of the service account key used to create or exchange credentials for
75
- # authenticating the service account making the request. This is a scheme-less
76
- # URI full resource name. For example: "//iam.googleapis.com/projects/`
77
- # PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`"
76
+ # The name of the service account key that was used to create or exchange
77
+ # credentials when authenticating the service account that made the request.
78
+ # This is a scheme-less URI full resource name. For example: "//iam.googleapis.
79
+ # com/projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`".
78
80
  # Corresponds to the JSON property `serviceAccountKeyName`
79
81
  # @return [String]
80
82
  attr_accessor :service_account_key_name
@@ -85,18 +87,16 @@ module Google
85
87
  # @return [String]
86
88
  attr_accessor :service_name
87
89
 
88
- # What kind of user agent is associated, for example operating system shells,
89
- # embedded or stand-alone applications, etc.
90
+ # Type of user agent associated with the finding. For example, an operating
91
+ # system shell or an embedded or standalone application.
90
92
  # Corresponds to the JSON property `userAgentFamily`
91
93
  # @return [String]
92
94
  attr_accessor :user_agent_family
93
95
 
94
- # A string that represents the username of a user, user account, or other entity
95
- # involved in the access event. What the entity is and what its role in the
96
- # access event is depends on the finding that this field appears in. The entity
97
- # is likely not an IAM principal, but could be a user that is logged into an
98
- # operating system, if the finding is VM-related, or a user that is logged into
99
- # some type of application that is involved in the access event.
96
+ # A string that represents a username. The username provided depends on the type
97
+ # of the finding and is likely not an IAM principal. For example, this can be a
98
+ # system username if the finding is related to a virtual machine, or it can be
99
+ # an application login username.
100
100
  # Corresponds to the JSON property `userName`
101
101
  # @return [String]
102
102
  attr_accessor :user_name
@@ -1150,7 +1150,7 @@ module Google
1150
1150
  # @return [Hash<String,Google::Apis::SecuritycenterV1::ContactDetails>]
1151
1151
  attr_accessor :contacts
1152
1152
 
1153
- # Containers associated with the finding. containers provides information for
1153
+ # Containers associated with the finding. This field provides information for
1154
1154
  # both Kubernetes and non-Kubernetes containers.
1155
1155
  # Corresponds to the JSON property `containers`
1156
1156
  # @return [Array<Google::Apis::SecuritycenterV1::Container>]
@@ -1171,7 +1171,7 @@ module Google
1171
1171
  # @return [Google::Apis::SecuritycenterV1::Database]
1172
1172
  attr_accessor :database
1173
1173
 
1174
- # Contains more detail about the finding.
1174
+ # Contains more details about the finding.
1175
1175
  # Corresponds to the JSON property `description`
1176
1176
  # @return [String]
1177
1177
  attr_accessor :description
@@ -1216,7 +1216,7 @@ module Google
1216
1216
  # @return [String]
1217
1217
  attr_accessor :finding_class
1218
1218
 
1219
- # Represents IAM bindings associated with the Finding.
1219
+ # Represents IAM bindings associated with the finding.
1220
1220
  # Corresponds to the JSON property `iamBindings`
1221
1221
  # @return [Array<Google::Apis::SecuritycenterV1::IamBinding>]
1222
1222
  attr_accessor :iam_bindings
@@ -1259,10 +1259,9 @@ module Google
1259
1259
  # @return [String]
1260
1260
  attr_accessor :mute
1261
1261
 
1262
- # First known as mute_annotation. Records additional information about the mute
1263
- # operation e.g. mute config that muted the finding, user who muted the finding,
1264
- # etc. Unlike other attributes of a finding, a finding provider shouldn't set
1265
- # the value of mute.
1262
+ # Records additional information about the mute operation, for example, the [
1263
+ # mute configuration](/security-command-center/docs/how-to-mute-findings) that
1264
+ # muted the finding and the user who muted the finding.
1266
1265
  # Corresponds to the JSON property `muteInitiator`
1267
1266
  # @return [String]
1268
1267
  attr_accessor :mute_initiator
@@ -1272,14 +1271,16 @@ module Google
1272
1271
  # @return [String]
1273
1272
  attr_accessor :mute_update_time
1274
1273
 
1275
- # The relative resource name of this finding. See: https://cloud.google.com/apis/
1276
- # design/resource_names#relative_resource_name Example: "organizations/`
1277
- # organization_id`/sources/`source_id`/findings/`finding_id`"
1274
+ # The [relative resource name](https://cloud.google.com/apis/design/
1275
+ # resource_names#relative_resource_name) of the finding. Example: "organizations/
1276
+ # `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
1277
+ # folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
1278
+ # sources/`source_id`/findings/`finding_id`".
1278
1279
  # Corresponds to the JSON property `name`
1279
1280
  # @return [String]
1280
1281
  attr_accessor :name
1281
1282
 
1282
- # Next steps associate to the finding.
1283
+ # Steps to address the finding.
1283
1284
  # Corresponds to the JSON property `nextSteps`
1284
1285
  # @return [String]
1285
1286
  attr_accessor :next_steps
@@ -1617,6 +1618,156 @@ module Google
1617
1618
  end
1618
1619
  end
1619
1620
 
1621
+ # Defines the properties in a custom module configuration for Security Health
1622
+ # Analytics. Use the custom module configuration to create custom detectors that
1623
+ # generate custom findings for resources that you specify.
1624
+ class GoogleCloudSecuritycenterV1CustomConfig
1625
+ include Google::Apis::Core::Hashable
1626
+
1627
+ # A set of optional name-value pairs that define custom source properties to
1628
+ # return with each finding that is generated by the custom module. The custom
1629
+ # source properties that are defined here are included in the finding JSON under
1630
+ # `sourceProperties`.
1631
+ # Corresponds to the JSON property `customOutput`
1632
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec]
1633
+ attr_accessor :custom_output
1634
+
1635
+ # Text that describes the vulnerability or misconfiguration that the custom
1636
+ # module detects. This explanation is returned with each finding instance to
1637
+ # help investigators understand the detected issue. The text must be enclosed in
1638
+ # quotation marks.
1639
+ # Corresponds to the JSON property `description`
1640
+ # @return [String]
1641
+ attr_accessor :description
1642
+
1643
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1644
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1645
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1646
+ # "Summary size limit" description: "Determines if a summary is less than 100
1647
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1648
+ # Requestor is owner" description: "Determines if requestor is the document
1649
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1650
+ # Logic): title: "Public documents" description: "Determine whether the document
1651
+ # should be publicly visible" expression: "document.type != 'private' &&
1652
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1653
+ # string" description: "Create a notification string with a timestamp."
1654
+ # expression: "'New message received at ' + string(document.create_time)" The
1655
+ # exact variables and functions that may be referenced within an expression are
1656
+ # determined by the service that evaluates it. See the service documentation for
1657
+ # additional information.
1658
+ # Corresponds to the JSON property `predicate`
1659
+ # @return [Google::Apis::SecuritycenterV1::Expr]
1660
+ attr_accessor :predicate
1661
+
1662
+ # An explanation of the recommended steps that security teams can take to
1663
+ # resolve the detected issue. This explanation is returned with each finding
1664
+ # generated by this module in the `nextSteps` property of the finding JSON.
1665
+ # Corresponds to the JSON property `recommendation`
1666
+ # @return [String]
1667
+ attr_accessor :recommendation
1668
+
1669
+ # Resource for selecting resource type.
1670
+ # Corresponds to the JSON property `resourceSelector`
1671
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceSelector]
1672
+ attr_accessor :resource_selector
1673
+
1674
+ # The severity to assign to findings generated by the module.
1675
+ # Corresponds to the JSON property `severity`
1676
+ # @return [String]
1677
+ attr_accessor :severity
1678
+
1679
+ def initialize(**args)
1680
+ update!(**args)
1681
+ end
1682
+
1683
+ # Update properties of this object
1684
+ def update!(**args)
1685
+ @custom_output = args[:custom_output] if args.key?(:custom_output)
1686
+ @description = args[:description] if args.key?(:description)
1687
+ @predicate = args[:predicate] if args.key?(:predicate)
1688
+ @recommendation = args[:recommendation] if args.key?(:recommendation)
1689
+ @resource_selector = args[:resource_selector] if args.key?(:resource_selector)
1690
+ @severity = args[:severity] if args.key?(:severity)
1691
+ end
1692
+ end
1693
+
1694
+ # A set of optional name-value pairs that define custom source properties to
1695
+ # return with each finding that is generated by the custom module. The custom
1696
+ # source properties that are defined here are included in the finding JSON under
1697
+ # `sourceProperties`.
1698
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
1699
+ include Google::Apis::Core::Hashable
1700
+
1701
+ # A list of custom output properties to add to the finding.
1702
+ # Corresponds to the JSON property `properties`
1703
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property>]
1704
+ attr_accessor :properties
1705
+
1706
+ def initialize(**args)
1707
+ update!(**args)
1708
+ end
1709
+
1710
+ # Update properties of this object
1711
+ def update!(**args)
1712
+ @properties = args[:properties] if args.key?(:properties)
1713
+ end
1714
+ end
1715
+
1716
+ # An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a
1717
+ # Security Health Analytics custom module at a specified level of the resource
1718
+ # hierarchy: organization, folder, or project. If a custom module is inherited
1719
+ # from a parent organization or folder, the value of the `enablementState`
1720
+ # property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value
1721
+ # that is effective in the parent, instead of `INHERITED`. For example, if the
1722
+ # module is enabled in a parent organization or folder, the effective
1723
+ # enablement_state for the module in all child folders or projects is also `
1724
+ # enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
1725
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
1726
+ include Google::Apis::Core::Hashable
1727
+
1728
+ # Defines the properties in a custom module configuration for Security Health
1729
+ # Analytics. Use the custom module configuration to create custom detectors that
1730
+ # generate custom findings for resources that you specify.
1731
+ # Corresponds to the JSON property `customConfig`
1732
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig]
1733
+ attr_accessor :custom_config
1734
+
1735
+ # Output only. The display name for the custom module. The name must be between
1736
+ # 1 and 128 characters, start with a lowercase letter, and contain alphanumeric
1737
+ # characters or underscores only.
1738
+ # Corresponds to the JSON property `displayName`
1739
+ # @return [String]
1740
+ attr_accessor :display_name
1741
+
1742
+ # Output only. The effective state of enablement for the module at the given
1743
+ # level of the hierarchy.
1744
+ # Corresponds to the JSON property `enablementState`
1745
+ # @return [String]
1746
+ attr_accessor :enablement_state
1747
+
1748
+ # Output only. The resource name of the custom module. Its format is "
1749
+ # organizations/`organization`/securityHealthAnalyticsSettings/
1750
+ # effectiveCustomModules/`customModule`", or "folders/`folder`/
1751
+ # securityHealthAnalyticsSettings/effectiveCustomModules/`customModule`", or "
1752
+ # projects/`project`/securityHealthAnalyticsSettings/effectiveCustomModules/`
1753
+ # customModule`"
1754
+ # Corresponds to the JSON property `name`
1755
+ # @return [String]
1756
+ attr_accessor :name
1757
+
1758
+ def initialize(**args)
1759
+ update!(**args)
1760
+ end
1761
+
1762
+ # Update properties of this object
1763
+ def update!(**args)
1764
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
1765
+ @display_name = args[:display_name] if args.key?(:display_name)
1766
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1767
+ @name = args[:name] if args.key?(:name)
1768
+ end
1769
+ end
1770
+
1620
1771
  # Representation of third party SIEM/SOAR fields within SCC.
1621
1772
  class GoogleCloudSecuritycenterV1ExternalSystem
1622
1773
  include Google::Apis::Core::Hashable
@@ -1772,6 +1923,45 @@ module Google
1772
1923
  end
1773
1924
  end
1774
1925
 
1926
+ # An individual name-value pair that defines a custom source property.
1927
+ class GoogleCloudSecuritycenterV1Property
1928
+ include Google::Apis::Core::Hashable
1929
+
1930
+ # Name of the property for the custom output.
1931
+ # Corresponds to the JSON property `name`
1932
+ # @return [String]
1933
+ attr_accessor :name
1934
+
1935
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1936
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1937
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1938
+ # "Summary size limit" description: "Determines if a summary is less than 100
1939
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1940
+ # Requestor is owner" description: "Determines if requestor is the document
1941
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1942
+ # Logic): title: "Public documents" description: "Determine whether the document
1943
+ # should be publicly visible" expression: "document.type != 'private' &&
1944
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1945
+ # string" description: "Create a notification string with a timestamp."
1946
+ # expression: "'New message received at ' + string(document.create_time)" The
1947
+ # exact variables and functions that may be referenced within an expression are
1948
+ # determined by the service that evaluates it. See the service documentation for
1949
+ # additional information.
1950
+ # Corresponds to the JSON property `valueExpression`
1951
+ # @return [Google::Apis::SecuritycenterV1::Expr]
1952
+ attr_accessor :value_expression
1953
+
1954
+ def initialize(**args)
1955
+ update!(**args)
1956
+ end
1957
+
1958
+ # Update properties of this object
1959
+ def update!(**args)
1960
+ @name = args[:name] if args.key?(:name)
1961
+ @value_expression = args[:value_expression] if args.key?(:value_expression)
1962
+ end
1963
+ end
1964
+
1775
1965
  # Information related to the Google Cloud resource.
1776
1966
  class GoogleCloudSecuritycenterV1Resource
1777
1967
  include Google::Apis::Core::Hashable
@@ -1836,6 +2026,25 @@ module Google
1836
2026
  end
1837
2027
  end
1838
2028
 
2029
+ # Resource for selecting resource type.
2030
+ class GoogleCloudSecuritycenterV1ResourceSelector
2031
+ include Google::Apis::Core::Hashable
2032
+
2033
+ # The resource types to run the detector on.
2034
+ # Corresponds to the JSON property `resourceTypes`
2035
+ # @return [Array<String>]
2036
+ attr_accessor :resource_types
2037
+
2038
+ def initialize(**args)
2039
+ update!(**args)
2040
+ end
2041
+
2042
+ # Update properties of this object
2043
+ def update!(**args)
2044
+ @resource_types = args[:resource_types] if args.key?(:resource_types)
2045
+ end
2046
+ end
2047
+
1839
2048
  # Response of asset discovery run
1840
2049
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
1841
2050
  include Google::Apis::Core::Hashable
@@ -1861,6 +2070,80 @@ module Google
1861
2070
  end
1862
2071
  end
1863
2072
 
2073
+ # Represents an instance of a Security Health Analytics custom module, including
2074
+ # its full module name, display name, enablement state, and last updated time.
2075
+ # You can create a custom module at the organization, folder, or project level.
2076
+ # Custom modules that you create at the organization or folder level are
2077
+ # inherited by the child folders and projects.
2078
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # Output only. If empty, indicates that the custom module was created in the
2082
+ # organization, folder, or project in which you are viewing the custom module.
2083
+ # Otherwise, `ancestor_module` specifies the organization or folder from which
2084
+ # the custom module is inherited.
2085
+ # Corresponds to the JSON property `ancestorModule`
2086
+ # @return [String]
2087
+ attr_accessor :ancestor_module
2088
+
2089
+ # Defines the properties in a custom module configuration for Security Health
2090
+ # Analytics. Use the custom module configuration to create custom detectors that
2091
+ # generate custom findings for resources that you specify.
2092
+ # Corresponds to the JSON property `customConfig`
2093
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig]
2094
+ attr_accessor :custom_config
2095
+
2096
+ # The display name of the Security Health Analytics custom module. This display
2097
+ # name becomes the finding category for all findings that are returned by this
2098
+ # custom module. The display name must be between 1 and 128 characters, start
2099
+ # with a lowercase letter, and contain alphanumeric characters or underscores
2100
+ # only.
2101
+ # Corresponds to the JSON property `displayName`
2102
+ # @return [String]
2103
+ attr_accessor :display_name
2104
+
2105
+ # The enablement state of the custom module.
2106
+ # Corresponds to the JSON property `enablementState`
2107
+ # @return [String]
2108
+ attr_accessor :enablement_state
2109
+
2110
+ # Output only. The editor that last updated the custom module.
2111
+ # Corresponds to the JSON property `lastEditor`
2112
+ # @return [String]
2113
+ attr_accessor :last_editor
2114
+
2115
+ # Immutable. The resource name of the custom module. Its format is "
2116
+ # organizations/`organization`/securityHealthAnalyticsSettings/customModules/`
2117
+ # customModule`", or "folders/`folder`/securityHealthAnalyticsSettings/
2118
+ # customModules/`customModule`", or "projects/`project`/
2119
+ # securityHealthAnalyticsSettings/customModules/`customModule`" The id `
2120
+ # customModule` is server-generated and is not user settable. It will be a
2121
+ # numeric id containing 1-20 digits.
2122
+ # Corresponds to the JSON property `name`
2123
+ # @return [String]
2124
+ attr_accessor :name
2125
+
2126
+ # Output only. The time at which the custom module was last updated.
2127
+ # Corresponds to the JSON property `updateTime`
2128
+ # @return [String]
2129
+ attr_accessor :update_time
2130
+
2131
+ def initialize(**args)
2132
+ update!(**args)
2133
+ end
2134
+
2135
+ # Update properties of this object
2136
+ def update!(**args)
2137
+ @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
2138
+ @custom_config = args[:custom_config] if args.key?(:custom_config)
2139
+ @display_name = args[:display_name] if args.key?(:display_name)
2140
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
2141
+ @last_editor = args[:last_editor] if args.key?(:last_editor)
2142
+ @name = args[:name] if args.key?(:name)
2143
+ @update_time = args[:update_time] if args.key?(:update_time)
2144
+ end
2145
+ end
2146
+
1864
2147
  # Response of asset discovery run
1865
2148
  class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
1866
2149
  include Google::Apis::Core::Hashable
@@ -2855,6 +3138,59 @@ module Google
2855
3138
  end
2856
3139
  end
2857
3140
 
3141
+ # Response message for listing descendant Security Health Analytics custom
3142
+ # modules.
3143
+ class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
3144
+ include Google::Apis::Core::Hashable
3145
+
3146
+ # If not empty, indicates that there may be more custom modules to be returned.
3147
+ # Corresponds to the JSON property `nextPageToken`
3148
+ # @return [String]
3149
+ attr_accessor :next_page_token
3150
+
3151
+ # Custom modules belonging to the requested parent and its descendants.
3152
+ # Corresponds to the JSON property `securityHealthAnalyticsCustomModules`
3153
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>]
3154
+ attr_accessor :security_health_analytics_custom_modules
3155
+
3156
+ def initialize(**args)
3157
+ update!(**args)
3158
+ end
3159
+
3160
+ # Update properties of this object
3161
+ def update!(**args)
3162
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3163
+ @security_health_analytics_custom_modules = args[:security_health_analytics_custom_modules] if args.key?(:security_health_analytics_custom_modules)
3164
+ end
3165
+ end
3166
+
3167
+ # Response message for listing effective Security Health Analytics custom
3168
+ # modules.
3169
+ class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
3170
+ include Google::Apis::Core::Hashable
3171
+
3172
+ # Effective custom modules belonging to the requested parent.
3173
+ # Corresponds to the JSON property `effectiveSecurityHealthAnalyticsCustomModules`
3174
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule>]
3175
+ attr_accessor :effective_security_health_analytics_custom_modules
3176
+
3177
+ # If not empty, indicates that there may be more effective custom modules to be
3178
+ # returned.
3179
+ # Corresponds to the JSON property `nextPageToken`
3180
+ # @return [String]
3181
+ attr_accessor :next_page_token
3182
+
3183
+ def initialize(**args)
3184
+ update!(**args)
3185
+ end
3186
+
3187
+ # Update properties of this object
3188
+ def update!(**args)
3189
+ @effective_security_health_analytics_custom_modules = args[:effective_security_health_analytics_custom_modules] if args.key?(:effective_security_health_analytics_custom_modules)
3190
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3191
+ end
3192
+ end
3193
+
2858
3194
  # Response message for listing findings.
2859
3195
  class ListFindingsResponse
2860
3196
  include Google::Apis::Core::Hashable
@@ -3006,6 +3342,31 @@ module Google
3006
3342
  end
3007
3343
  end
3008
3344
 
3345
+ # Response message for listing Security Health Analytics custom modules.
3346
+ class ListSecurityHealthAnalyticsCustomModulesResponse
3347
+ include Google::Apis::Core::Hashable
3348
+
3349
+ # If not empty, indicates that there may be more custom modules to be returned.
3350
+ # Corresponds to the JSON property `nextPageToken`
3351
+ # @return [String]
3352
+ attr_accessor :next_page_token
3353
+
3354
+ # Custom modules belonging to the requested parent.
3355
+ # Corresponds to the JSON property `securityHealthAnalyticsCustomModules`
3356
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule>]
3357
+ attr_accessor :security_health_analytics_custom_modules
3358
+
3359
+ def initialize(**args)
3360
+ update!(**args)
3361
+ end
3362
+
3363
+ # Update properties of this object
3364
+ def update!(**args)
3365
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3366
+ @security_health_analytics_custom_modules = args[:security_health_analytics_custom_modules] if args.key?(:security_health_analytics_custom_modules)
3367
+ end
3368
+ end
3369
+
3009
3370
  # Response message for listing sources.
3010
3371
  class ListSourcesResponse
3011
3372
  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.53.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230329"
25
+ REVISION = "20230414"
26
26
  end
27
27
  end
28
28
  end