lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.46.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.47.0
- old
+ new
@@ -140,10 +140,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Expr
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class File
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -182,10 +188,28 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudSecuritycenterV1CustomConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudSecuritycenterV1ExternalSystem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -200,22 +224,40 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudSecuritycenterV1Property
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudSecuritycenterV1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudSecuritycenterV1ResourceSelector
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -616,10 +658,20 @@
collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
end
end
+ class Expr
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :description, as: 'description'
+ property :expression, as: 'expression'
+ property :location, as: 'location'
+ property :title, as: 'title'
+ end
+ end
+
class File
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :contents, as: 'contents'
property :hashed_size, :numeric_string => true, as: 'hashedSize'
@@ -738,10 +790,44 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
+ class GoogleCloudSecuritycenterV1CustomConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :custom_output, as: 'customOutput', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomOutputSpec, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomOutputSpec::Representation
+
+ property :description, as: 'description'
+ property :predicate, as: 'predicate', class: Google::Apis::SecuritycenterV1beta2::Expr, decorator: Google::Apis::SecuritycenterV1beta2::Expr::Representation
+
+ property :recommendation, as: 'recommendation'
+ property :resource_selector, as: 'resourceSelector', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceSelector, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceSelector::Representation
+
+ property :severity, as: 'severity'
+ end
+ end
+
+ class GoogleCloudSecuritycenterV1CustomOutputSpec
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :properties, as: 'properties', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Property, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Property::Representation
+
+ end
+ end
+
+ class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig::Representation
+
+ property :display_name, as: 'displayName'
+ property :enablement_state, as: 'enablementState'
+ property :name, as: 'name'
+ end
+ end
+
class GoogleCloudSecuritycenterV1ExternalSystem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :assignees, as: 'assignees'
property :external_system_update_time, as: 'externalSystemUpdateTime'
@@ -773,10 +859,19 @@
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource::Representation
end
end
+ class GoogleCloudSecuritycenterV1Property
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :name, as: 'name'
+ property :value_expression, as: 'valueExpression', class: Google::Apis::SecuritycenterV1beta2::Expr, decorator: Google::Apis::SecuritycenterV1beta2::Expr::Representation
+
+ end
+ end
+
class GoogleCloudSecuritycenterV1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta2::Folder, decorator: Google::Apis::SecuritycenterV1beta2::Folder::Representation
@@ -788,14 +883,35 @@
property :project_display_name, as: 'projectDisplayName'
property :type, as: 'type'
end
end
+ class GoogleCloudSecuritycenterV1ResourceSelector
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :resource_types, as: 'resourceTypes'
+ end
+ end
+
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :state, as: 'state'
+ end
+ end
+
+ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :ancestor_module, as: 'ancestorModule'
+ property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig::Representation
+
+ property :display_name, as: 'displayName'
+ property :enablement_state, as: 'enablementState'
+ property :last_editor, as: 'lastEditor'
+ property :name, as: 'name'
+ property :update_time, as: 'updateTime'
end
end
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
# @private