Class: Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource

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

Overview

Manually constructed information about a resource.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Optional. A representation of the IAM allow policy.

If the custom module evaluates only the resource data, then you can omit this field.

Returns:

  • (::Google::Iam::V1::Policy)

    Optional. A representation of the IAM allow policy.

    If the custom module evaluates only the resource data, then you can omit this field.



597
598
599
600
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 597

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.

If the custom module evaluates only the IAM allow policy, then you can omit this field.

Returns:

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

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

    If the custom module evaluates only the IAM allow policy, then you can omit this field.



597
598
599
600
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 597

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.



597
598
599
600
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 597

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