Class: Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb

Overview

Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the iam_policy_data field. If it evaluates only the iam_policy_data field, you can omit the resource data.

Instance Attribute Summary collapse

Instance Attribute Details

#iam_policy_data::Google::Iam::V1::Policy

Returns Optional. A representation of the IAM policy.

Returns:



1650
1651
1652
1653
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1650

class SimulatedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_data::Google::Protobuf::Struct

Returns Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.

Returns:

  • (::Google::Protobuf::Struct)

    Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.



1650
1651
1652
1653
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1650

class SimulatedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_type::String

Returns Required. The type of the resource, for example, compute.googleapis.com/Disk.

Returns:

  • (::String)

    Required. The type of the resource, for example, compute.googleapis.com/Disk.



1650
1651
1652
1653
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1650

class SimulatedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end